public void RenderComplexShape(CollisionShape shape, Mesh mesh) { switch (shape.ShapeType) { case BroadphaseNativeType.StaticPlaneShape: //RenderStaticPlaneShape(mesh); break; case BroadphaseNativeType.CapsuleShape: //RenderCapsuleShape(mesh); break; case BroadphaseNativeType.MultiSphereShape: //RenderMultiSphereShape((MultiSphereShape)shape, mesh); break; } }
public void RenderComplexShape(CollisionShape shape, Mesh mesh) { switch (shape.ShapeType) { case BroadphaseNativeType.StaticPlane: //RenderStaticPlaneShape(mesh); break; case BroadphaseNativeType.CapsuleShape: //RenderCapsuleShape(mesh); break; case BroadphaseNativeType.MultiSphereShape: //RenderMultiSphereShape((MultiSphereShape)shape, mesh); break; } }