Add initial prototype.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef C_BOX2D_OBJECT_PRIVATE_H
|
||||
#define C_BOX2D_OBJECT_PRIVATE_H
|
||||
|
||||
|
||||
#include <box2d/box2d.h>
|
||||
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
struct Object
|
||||
{
|
||||
b2FixtureDef fixtureDef;
|
||||
b2BodyDef bodyDef;
|
||||
b2Body* body;
|
||||
b2Vec2 Scale;
|
||||
|
||||
void* userData; // This holds the physics Object pointer (not the box2d Object pointer).
|
||||
};
|
||||
|
||||
} //extern "C"
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user