示例#1
0
 public virtual void solveConstraintObsolete(btSolverBody arg0, btSolverBody arg1, float arg2)
 {
     BulletPINVOKE.btTypedConstraint_solveConstraintObsolete(swigCPtr, btSolverBody.getCPtr(arg0), btSolverBody.getCPtr(arg1), arg2);
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public override void solveConstraintObsolete(btSolverBody bodyA, btSolverBody bodyB, float timeStep)
 {
     BulletPINVOKE.btConeTwistConstraint_solveConstraintObsolete(swigCPtr, btSolverBody.getCPtr(bodyA), btSolverBody.getCPtr(bodyB), timeStep);
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btSolverBody obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }