24 lines
385 B
C
24 lines
385 B
C
#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
|