Beispiel #1
0
 public void addIndexedMesh(btIndexedMesh mesh, SWIGTYPE_p_PHY_ScalarType indexType)
 {
     BulletCollisionPINVOKE.btTriangleIndexVertexArray_addIndexedMesh__SWIG_0(swigCPtr, btIndexedMesh.getCPtr(mesh), SWIGTYPE_p_PHY_ScalarType.getCPtr(indexType));
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public void addIndexedMesh(btIndexedMesh mesh)
 {
     BulletCollisionPINVOKE.btTriangleIndexVertexArray_addIndexedMesh__SWIG_1(swigCPtr, btIndexedMesh.getCPtr(mesh));
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btIndexedMesh obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }