Add initial prototype.

This commit is contained in:
Rod Kay
2022-07-31 17:34:54 +10:00
commit 54a53b2ac0
1421 changed files with 358874 additions and 0 deletions

View File

@@ -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