コード例 #1
0
        public virtual SWIGTYPE_p_btIDebugDraw getDebugDrawer()
        {
            IntPtr cPtr = BulletCollisionPINVOKE.btCollisionWorld_getDebugDrawer(swigCPtr);
            SWIGTYPE_p_btIDebugDraw ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btIDebugDraw(cPtr, false);

            return(ret);
        }
        public virtual float solveGroup(SWIGTYPE_p_p_btCollisionObject bodies, int numBodies, SWIGTYPE_p_p_btPersistentManifold manifold, int numManifolds, SWIGTYPE_p_p_btTypedConstraint constraints, int numConstraints, SWIGTYPE_p_btContactSolverInfo info, SWIGTYPE_p_btIDebugDraw debugDrawer, SWIGTYPE_p_btStackAlloc stackAlloc, SWIGTYPE_p_btDispatcher dispatcher)
        {
            float ret = BulletDynamicsPINVOKE.btSequentialImpulseConstraintSolver_solveGroup(swigCPtr, SWIGTYPE_p_p_btCollisionObject.getCPtr(bodies), numBodies, SWIGTYPE_p_p_btPersistentManifold.getCPtr(manifold), numManifolds, SWIGTYPE_p_p_btTypedConstraint.getCPtr(constraints), numConstraints, SWIGTYPE_p_btContactSolverInfo.getCPtr(info), SWIGTYPE_p_btIDebugDraw.getCPtr(debugDrawer), SWIGTYPE_p_btStackAlloc.getCPtr(stackAlloc), SWIGTYPE_p_btDispatcher.getCPtr(dispatcher));

            if (BulletDynamicsPINVOKE.SWIGPendingException.Pending)
            {
                throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
 public void debugDraw(SWIGTYPE_p_btIDebugDraw debugDrawer)
 {
     BulletDynamicsPINVOKE.btRaycastVehicle_debugDraw(swigCPtr, SWIGTYPE_p_btIDebugDraw.getCPtr(debugDrawer));
 }
コード例 #4
0
 public virtual void setDebugDrawer(SWIGTYPE_p_btIDebugDraw debugDrawer)
 {
     BulletCollisionPINVOKE.btCollisionWorld_setDebugDrawer(swigCPtr, SWIGTYPE_p_btIDebugDraw.getCPtr(debugDrawer));
 }
コード例 #5
0
 public static void DrawClusterTree(btSoftBody psb, SWIGTYPE_p_btIDebugDraw idraw, int mindepth)
 {
     BulletSoftBodyPINVOKE.btSoftBodyHelpers_DrawClusterTree__SWIG_1(btSoftBody.getCPtr(psb), SWIGTYPE_p_btIDebugDraw.getCPtr(idraw), mindepth);
 }
コード例 #6
0
 public static void DrawFaceTree(btSoftBody psb, SWIGTYPE_p_btIDebugDraw idraw)
 {
     BulletSoftBodyPINVOKE.btSoftBodyHelpers_DrawFaceTree__SWIG_2(btSoftBody.getCPtr(psb), SWIGTYPE_p_btIDebugDraw.getCPtr(idraw));
 }
コード例 #7
0
 public static void DrawInfos(btSoftBody psb, SWIGTYPE_p_btIDebugDraw idraw, bool masses, bool areas, bool stress)
 {
     BulletSoftBodyPINVOKE.btSoftBodyHelpers_DrawInfos(btSoftBody.getCPtr(psb), SWIGTYPE_p_btIDebugDraw.getCPtr(idraw), masses, areas, stress);
 }
コード例 #8
0
 public static void Draw(btSoftBody psb, SWIGTYPE_p_btIDebugDraw idraw, int drawflags)
 {
     BulletSoftBodyPINVOKE.btSoftBodyHelpers_Draw__SWIG_0(btSoftBody.getCPtr(psb), SWIGTYPE_p_btIDebugDraw.getCPtr(idraw), drawflags);
 }