示例#1
0
 public void convexSweepTest(
     btConvexShape castShape, Matrix4 from, Matrix4 to, ConvexResultCallback resultCallback) {
   CollisionJNI.btCollisionWorld_convexSweepTest__SWIG_1(
       swigCPtr,
       this,
       btConvexShape.getCPtr(castShape),
       castShape,
       from,
       to,
       ConvexResultCallback.getCPtr(resultCallback),
       resultCallback);
 }
示例#2
0
 public void convexSweepTest(
     btConvexShape castShape,
     Matrix4 from,
     Matrix4 to,
     ConvexResultCallback resultCallback,
     float allowedCcdPenetration) {
   CollisionJNI.btCollisionWorld_convexSweepTest__SWIG_0(
       swigCPtr,
       this,
       btConvexShape.getCPtr(castShape),
       castShape,
       from,
       to,
       ConvexResultCallback.getCPtr(resultCallback),
       resultCallback,
       allowedCcdPenetration);
 }
示例#3
0
 public static void objectQuerySingleInternal(
     btConvexShape castShape,
     Matrix4 convexFromTrans,
     Matrix4 convexToTrans,
     btCollisionObjectWrapper colObjWrap,
     ConvexResultCallback resultCallback,
     float allowedPenetration) {
   CollisionJNI.btCollisionWorld_objectQuerySingleInternal(
       btConvexShape.getCPtr(castShape),
       castShape,
       convexFromTrans,
       convexToTrans,
       btCollisionObjectWrapper.getCPtr(colObjWrap),
       colObjWrap,
       ConvexResultCallback.getCPtr(resultCallback),
       resultCallback,
       allowedPenetration);
 }
示例#4
0
 public static void objectQuerySingle(
     btConvexShape castShape,
     Matrix4 rayFromTrans,
     Matrix4 rayToTrans,
     btCollisionObject collisionObject,
     btCollisionShape collisionShape,
     Matrix4 colObjWorldTransform,
     ConvexResultCallback resultCallback,
     float allowedPenetration) {
   CollisionJNI.btCollisionWorld_objectQuerySingle(
       btConvexShape.getCPtr(castShape),
       castShape,
       rayFromTrans,
       rayToTrans,
       btCollisionObject.getCPtr(collisionObject),
       collisionObject,
       btCollisionShape.getCPtr(collisionShape),
       collisionShape,
       colObjWorldTransform,
       ConvexResultCallback.getCPtr(resultCallback),
       resultCallback,
       allowedPenetration);
 }