Пример #1
0
        public override SWIGTYPE_p_p_btPersistentManifold getInternalManifoldPointer()
        {
            global::System.IntPtr             cPtr = BulletPINVOKE.btCollisionDispatcher_getInternalManifoldPointer(swigCPtr);
            SWIGTYPE_p_p_btPersistentManifold ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_p_btPersistentManifold(cPtr, false);

            return(ret);
        }
Пример #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_btPersistentManifold obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Пример #3
0
        public override float solveGroup(SWIGTYPE_p_p_btCollisionObject bodies, int numBodies, SWIGTYPE_p_p_btPersistentManifold manifold, int numManifolds, SWIGTYPE_p_p_btTypedConstraint constraints, int numConstraints, btContactSolverInfo info, btIDebugDraw debugDrawer, btDispatcher dispatcher)
        {
            float ret = BulletPINVOKE.btSequentialImpulseConstraintSolver_solveGroup(swigCPtr, SWIGTYPE_p_p_btCollisionObject.getCPtr(bodies), numBodies, SWIGTYPE_p_p_btPersistentManifold.getCPtr(manifold), numManifolds, SWIGTYPE_p_p_btTypedConstraint.getCPtr(constraints), numConstraints, btContactSolverInfo.getCPtr(info), btIDebugDraw.getCPtr(debugDrawer), btDispatcher.getCPtr(dispatcher));

            if (BulletPINVOKE.SWIGPendingException.Pending)
            {
                throw BulletPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }