예제 #1
0
 public unsafe static void DebugDrawObject(this CollisionWorld obj, ref OpenTK.Matrix4 worldTransform, CollisionShape shape, ref OpenTK.Vector3 color)
 {
     fixed(OpenTK.Matrix4 *worldTransformPtr = &worldTransform)
     {
         fixed(OpenTK.Vector3 *colorPtr = &color)
         {
             obj.DebugDrawObject(ref *(BulletSharp.Math.Matrix *)worldTransformPtr, shape, ref *(BulletSharp.Math.Vector3 *)colorPtr);
         }
     }
 }