diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2005-07-17 01:47:54 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2005-07-17 01:47:54 +0400 |
commit | 2d73b31aff247a08c0706125fe6eb7f3e8d06b11 (patch) | |
tree | ba6efd3b020ab3917085c519706bec4285f84086 /source/gameengine/Ketsji/KX_ConvertPhysicsObject.h | |
parent | 3166974a674721ed28827d5851f978a156978a4d (diff) |
preparation for bullet physics
Diffstat (limited to 'source/gameengine/Ketsji/KX_ConvertPhysicsObject.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_ConvertPhysicsObject.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h b/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h index 8631048dc4a..60a9d560a06 100644 --- a/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h +++ b/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h @@ -35,6 +35,7 @@ /* These are defined by the build system... */ //#define USE_SUMO_SOLID //#define USE_ODE +//#define USE_BULLET class RAS_MeshObject; class KX_Scene; @@ -115,5 +116,18 @@ bool KX_ReInstanceShapeFromMesh(RAS_MeshObject* meshobj); #endif +#ifdef USE_BULLET + +void KX_ConvertBulletObject( class KX_GameObject* gameobj, + class RAS_MeshObject* meshobj, + class KX_Scene* kxscene, + struct PHY_ShapeProps* shapeprops, + struct PHY_MaterialProps* smmaterial, + struct KX_ObjectProperties* objprop); + +void KX_ClearBulletSharedShapes(); +//bool KX_ReInstanceShapeFromMesh(RAS_MeshObject* meshobj); + +#endif #endif //KX_CONVERTPHYSICSOBJECTS |