Exemple #1
0
        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;
            }
        }
Exemple #2
0
 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;
     }
 }