Example #1
0
        public SWIGTYPE_p_btStridingMeshInterface getMeshInterface()
        {
            IntPtr cPtr = BulletCollisionPINVOKE.btConvexTriangleMeshShape_getMeshInterface__SWIG_0(swigCPtr);
            SWIGTYPE_p_btStridingMeshInterface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btStridingMeshInterface(cPtr, false);

            return(ret);
        }
Example #2
0
 public btBvhTriangleMeshShape(SWIGTYPE_p_btStridingMeshInterface meshInterface, bool useQuantizedAabbCompression, SWIGTYPE_p_btVector3 bvhAabbMin, SWIGTYPE_p_btVector3 bvhAabbMax) : this(BulletCollisionPINVOKE.new_btBvhTriangleMeshShape__SWIG_3(SWIGTYPE_p_btStridingMeshInterface.getCPtr(meshInterface), useQuantizedAabbCompression, SWIGTYPE_p_btVector3.getCPtr(bvhAabbMin), SWIGTYPE_p_btVector3.getCPtr(bvhAabbMax)), true)
 {
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void Dispose()
 {
     lock(this) {
       if (swigCPtr.Handle != IntPtr.Zero) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       BulletCollisionPINVOKE.delete_btTriangleIndexVertexArray(swigCPtr);
     }
     swigCPtr = new HandleRef(null, IntPtr.Zero);
     swigWrapPtr = new SWIGTYPE_p_btStridingMeshInterface(IntPtr.Zero, true);
       }
       GC.SuppressFinalize(this);
     }
 }
 public btBvhTriangleMeshShape(SWIGTYPE_p_btStridingMeshInterface meshInterface, bool useQuantizedAabbCompression, SWIGTYPE_p_btVector3 bvhAabbMin, SWIGTYPE_p_btVector3 bvhAabbMax)
     : this(BulletCollisionPINVOKE.new_btBvhTriangleMeshShape__SWIG_3(SWIGTYPE_p_btStridingMeshInterface.getCPtr(meshInterface), useQuantizedAabbCompression, SWIGTYPE_p_btVector3.getCPtr(bvhAabbMin), SWIGTYPE_p_btVector3.getCPtr(bvhAabbMax)), true)
 {
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
 public btBvhTriangleMeshShape(SWIGTYPE_p_btStridingMeshInterface meshInterface, bool useQuantizedAabbCompression)
     : this(BulletCollisionPINVOKE.new_btBvhTriangleMeshShape__SWIG_1(SWIGTYPE_p_btStridingMeshInterface.getCPtr(meshInterface), useQuantizedAabbCompression), true)
 {
 }
 internal btTriangleIndexVertexArray(IntPtr cPtr, bool cMemoryOwn)
 {
     swigCMemOwn = cMemoryOwn;
     swigCPtr = new HandleRef(this, cPtr);
     swigWrapPtr = new SWIGTYPE_p_btStridingMeshInterface(cPtr, true);
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_btStridingMeshInterface obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #8
0
 public btConvexTriangleMeshShape(SWIGTYPE_p_btStridingMeshInterface meshInterface) : this(BulletCollisionPINVOKE.new_btConvexTriangleMeshShape__SWIG_1(SWIGTYPE_p_btStridingMeshInterface.getCPtr(meshInterface)), true)
 {
 }
Example #9
0
 public btBvhTriangleMeshShape(SWIGTYPE_p_btStridingMeshInterface meshInterface, bool useQuantizedAabbCompression) : this(BulletCollisionPINVOKE.new_btBvhTriangleMeshShape__SWIG_1(SWIGTYPE_p_btStridingMeshInterface.getCPtr(meshInterface), useQuantizedAabbCompression), true)
 {
 }
 public btConvexTriangleMeshShape(SWIGTYPE_p_btStridingMeshInterface meshInterface)
     : this(BulletCollisionPINVOKE.new_btConvexTriangleMeshShape__SWIG_1(SWIGTYPE_p_btStridingMeshInterface.getCPtr(meshInterface)), true)
 {
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_btStridingMeshInterface obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }