Beispiel #1
0
 public btSoftRigidCollisionAlgorithm(SWIGTYPE_p_btPersistentManifold mf, SWIGTYPE_p_btCollisionAlgorithmConstructionInfo ci, SWIGTYPE_p_btCollisionObjectWrapper col0, SWIGTYPE_p_btCollisionObjectWrapper col1Wrap, bool isSwapped) : this(BulletSoftBodyPINVOKE.new_btSoftRigidCollisionAlgorithm(SWIGTYPE_p_btPersistentManifold.getCPtr(mf), SWIGTYPE_p_btCollisionAlgorithmConstructionInfo.getCPtr(ci), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(col0), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(col1Wrap), isSwapped), true)
 {
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public SWIGTYPE_p_btPersistentManifold getManifoldByIndexInternal(int index)
        {
            IntPtr cPtr = BulletCollisionPINVOKE.btCollisionDispatcher_getManifoldByIndexInternal__SWIG_0(swigCPtr, index);
            SWIGTYPE_p_btPersistentManifold ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btPersistentManifold(cPtr, false);

            return(ret);
        }
        public virtual SWIGTYPE_p_btPersistentManifold getNewManifold(btCollisionObject b0, btCollisionObject b1)
        {
            IntPtr cPtr = BulletCollisionPINVOKE.btCollisionDispatcher_getNewManifold(swigCPtr, btCollisionObject.getCPtr(b0), btCollisionObject.getCPtr(b1));
            SWIGTYPE_p_btPersistentManifold ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btPersistentManifold(cPtr, false);

            return(ret);
        }
Beispiel #4
0
 public btSoftSoftCollisionAlgorithm(SWIGTYPE_p_btPersistentManifold mf, SWIGTYPE_p_btCollisionAlgorithmConstructionInfo ci, SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap) : this(BulletSoftBodyPINVOKE.new_btSoftSoftCollisionAlgorithm__SWIG_1(SWIGTYPE_p_btPersistentManifold.getCPtr(mf), SWIGTYPE_p_btCollisionAlgorithmConstructionInfo.getCPtr(ci), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body0Wrap), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body1Wrap)), true)
 {
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public SWIGTYPE_p_btCollisionAlgorithm findAlgorithm(SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap, SWIGTYPE_p_btPersistentManifold sharedManifold)
        {
            IntPtr cPtr = BulletCollisionPINVOKE.btCollisionDispatcher_findAlgorithm__SWIG_0(swigCPtr, SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body0Wrap), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body1Wrap), SWIGTYPE_p_btPersistentManifold.getCPtr(sharedManifold));
            SWIGTYPE_p_btCollisionAlgorithm ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btCollisionAlgorithm(cPtr, false);

            return(ret);
        }
 public virtual void clearManifold(SWIGTYPE_p_btPersistentManifold manifold)
 {
     BulletCollisionPINVOKE.btCollisionDispatcher_clearManifold(swigCPtr, SWIGTYPE_p_btPersistentManifold.getCPtr(manifold));
 }
 public SWIGTYPE_p_btCollisionAlgorithm findAlgorithm(SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap, SWIGTYPE_p_btPersistentManifold sharedManifold)
 {
     IntPtr cPtr = BulletCollisionPINVOKE.btCollisionDispatcher_findAlgorithm__SWIG_0(swigCPtr, SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body0Wrap), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body1Wrap), SWIGTYPE_p_btPersistentManifold.getCPtr(sharedManifold));
     SWIGTYPE_p_btCollisionAlgorithm ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btCollisionAlgorithm(cPtr, false);
     return ret;
 }
 public virtual void clearManifold(SWIGTYPE_p_btPersistentManifold manifold)
 {
     BulletCollisionPINVOKE.btCollisionDispatcher_clearManifold(swigCPtr, SWIGTYPE_p_btPersistentManifold.getCPtr(manifold));
 }
Beispiel #9
0
 internal static HandleRef getCPtr(SWIGTYPE_p_btPersistentManifold obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public btSoftSoftCollisionAlgorithm(SWIGTYPE_p_btPersistentManifold mf, SWIGTYPE_p_btCollisionAlgorithmConstructionInfo ci, SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap)
     : this(BulletSoftBodyPINVOKE.new_btSoftSoftCollisionAlgorithm__SWIG_1(SWIGTYPE_p_btPersistentManifold.getCPtr(mf), SWIGTYPE_p_btCollisionAlgorithmConstructionInfo.getCPtr(ci), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body0Wrap), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body1Wrap)), true)
 {
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_btPersistentManifold obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public btSoftRigidCollisionAlgorithm(SWIGTYPE_p_btPersistentManifold mf, SWIGTYPE_p_btCollisionAlgorithmConstructionInfo ci, SWIGTYPE_p_btCollisionObjectWrapper col0, SWIGTYPE_p_btCollisionObjectWrapper col1Wrap, bool isSwapped)
     : this(BulletSoftBodyPINVOKE.new_btSoftRigidCollisionAlgorithm(SWIGTYPE_p_btPersistentManifold.getCPtr(mf), SWIGTYPE_p_btCollisionAlgorithmConstructionInfo.getCPtr(ci), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(col0), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(col1Wrap), isSwapped), true)
 {
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }