Esempio n. 1
0
 public void rayTest(Vector3 rayFromWorld, Vector3 rayToWorld, RayResultCallback resultCallback) {
   CollisionJNI.btCollisionWorld_rayTest(
       swigCPtr,
       this,
       rayFromWorld,
       rayToWorld,
       RayResultCallback.getCPtr(resultCallback),
       resultCallback);
 }
Esempio n. 2
0
 public static void rayTestSingleInternal(
     Matrix4 rayFromTrans,
     Matrix4 rayToTrans,
     btCollisionObjectWrapper collisionObjectWrap,
     RayResultCallback resultCallback) {
   CollisionJNI.btCollisionWorld_rayTestSingleInternal(
       rayFromTrans,
       rayToTrans,
       btCollisionObjectWrapper.getCPtr(collisionObjectWrap),
       collisionObjectWrap,
       RayResultCallback.getCPtr(resultCallback),
       resultCallback);
 }
Esempio n. 3
0
 public static void rayTestSingle(
     Matrix4 rayFromTrans,
     Matrix4 rayToTrans,
     btCollisionObject collisionObject,
     btCollisionShape collisionShape,
     Matrix4 colObjWorldTransform,
     RayResultCallback resultCallback) {
   CollisionJNI.btCollisionWorld_rayTestSingle(
       rayFromTrans,
       rayToTrans,
       btCollisionObject.getCPtr(collisionObject),
       collisionObject,
       btCollisionShape.getCPtr(collisionShape),
       collisionShape,
       colObjWorldTransform,
       RayResultCallback.getCPtr(resultCallback),
       resultCallback);
 }