BGE modifier: generate correct physic shape, share static derived mesh, share display...
[blender.git] / source / gameengine / Ketsji / KX_ConvertPhysicsObject.h
index 40c715974f90fc7972dce70f631430bf2588941f..5b912a123fe67de992b80e082d5ec4d7e94d34db 100644 (file)
@@ -47,6 +47,7 @@
 
 class RAS_MeshObject;
 class KX_Scene;
+struct DerivedMesh;
 
 typedef enum {
        KX_BOUNDBOX,
@@ -183,6 +184,7 @@ bool KX_ReInstanceShapeFromMesh(RAS_MeshObject* meshobj);
 
 void   KX_ConvertBulletObject( class   KX_GameObject* gameobj,
        class   RAS_MeshObject* meshobj,
+       struct  DerivedMesh* dm,
        class   KX_Scene* kxscene,
        struct  PHY_ShapeProps* shapeprops,
        struct  PHY_MaterialProps*      smmaterial,