Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2005-07-17 01:47:54 +0400
committerErwin Coumans <blender@erwincoumans.com>2005-07-17 01:47:54 +0400
commit2d73b31aff247a08c0706125fe6eb7f3e8d06b11 (patch)
treeba6efd3b020ab3917085c519706bec4285f84086 /source/gameengine/Ketsji/KX_ConvertPhysicsObject.h
parent3166974a674721ed28827d5851f978a156978a4d (diff)
preparation for bullet physics
Diffstat (limited to 'source/gameengine/Ketsji/KX_ConvertPhysicsObject.h')
-rw-r--r--source/gameengine/Ketsji/KX_ConvertPhysicsObject.h14
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