Home
last modified time | relevance | path

Searched refs:resultCallback (Results 1 – 13 of 13) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DbtCollisionWorld.java117 public void rayTest(Vector3 rayFromWorld, Vector3 rayToWorld, RayResultCallback resultCallback) { in rayTest() argument
118 …igCPtr, this, rayFromWorld, rayToWorld, RayResultCallback.getCPtr(resultCallback), resultCallback); in rayTest()
121 …onvexShape castShape, Matrix4 from, Matrix4 to, ConvexResultCallback resultCallback, float allowed… in convexSweepTest() argument
122 …astShape), castShape, from, to, ConvexResultCallback.getCPtr(resultCallback), resultCallback, allo… in convexSweepTest()
125 …SweepTest(btConvexShape castShape, Matrix4 from, Matrix4 to, ConvexResultCallback resultCallback) { in convexSweepTest() argument
126 …Ptr(castShape), castShape, from, to, ConvexResultCallback.getCPtr(resultCallback), resultCallback); in convexSweepTest()
129 public void contactTest(btCollisionObject colObj, ContactResultCallback resultCallback) { in contactTest() argument
130 …sionObject.getCPtr(colObj), colObj, ContactResultCallback.getCPtr(resultCallback), resultCallback); in contactTest()
133 …rTest(btCollisionObject colObjA, btCollisionObject colObjB, ContactResultCallback resultCallback) { in contactPairTest() argument
134 …onObject.getCPtr(colObjB), colObjB, ContactResultCallback.getCPtr(resultCallback), resultCallback); in contactPairTest()
[all …]
DbtGhostObject.java65 …Matrix4 convexFromWorld, Matrix4 convexToWorld, ConvexResultCallback resultCallback, float allowed… in convexSweepTest() argument
66 …convexFromWorld, convexToWorld, ConvexResultCallback.getCPtr(resultCallback), resultCallback, allo… in convexSweepTest()
69 …e castShape, Matrix4 convexFromWorld, Matrix4 convexToWorld, ConvexResultCallback resultCallback) { in convexSweepTest() argument
70 …ape, convexFromWorld, convexToWorld, ConvexResultCallback.getCPtr(resultCallback), resultCallback); in convexSweepTest()
73 public void rayTest(Vector3 rayFromWorld, Vector3 rayToWorld, RayResultCallback resultCallback) { in rayTest() argument
74 …igCPtr, this, rayFromWorld, rayToWorld, RayResultCallback.getCPtr(resultCallback), resultCallback); in rayTest()
DbtGImpactShapeInterface.java148 public void rayTest(Vector3 rayFrom, Vector3 rayTo, RayResultCallback resultCallback) { in rayTest() argument
149 …rayTest(swigCPtr, this, rayFrom, rayTo, RayResultCallback.getCPtr(resultCallback), resultCallback); in rayTest()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtCollisionWorld.cpp266 RayResultCallback& resultCallback) in rayTestSingle() argument
269 btCollisionWorld::rayTestSingleInternal(rayFromTrans,rayToTrans,&colObWrap,resultCallback); in rayTestSingle()
274 RayResultCallback& resultCallback) in rayTestSingleInternal() argument
286 castResult.m_fraction = resultCallback.m_closestHitFraction; in rayTestSingleInternal()
298 if (resultCallback.m_flags & btTriangleRaycastCallback::kF_UseGjkConvexCastRaytest) in rayTestSingleInternal()
310 if (castResult.m_fraction < resultCallback.m_closestHitFraction) in rayTestSingleInternal()
328 resultCallback.addSingleResult(localRayResult, normalInWorldSpace); in rayTestSingleInternal()
347 …btCollisionWorld::RayResultCallback* resultCallback, const btCollisionObject* collisionObject,cons… in rayTestSingleInternal()
349 btTriangleRaycastCallback(from,to, resultCallback->m_flags), in rayTestSingleInternal()
350 m_resultCallback(resultCallback), in rayTestSingleInternal()
[all …]
DbtGhostObject.cpp102 … btTransform& convexToWorld, btCollisionWorld::ConvexResultCallback& resultCallback, btScalar allo… in convexSweepTest() argument
125 if(resultCallback.needsCollision(collisionObject->getBroadphaseHandle())) { in convexSweepTest()
138 resultCallback, in convexSweepTest()
146 …yFromWorld, const btVector3& rayToWorld, btCollisionWorld::RayResultCallback& resultCallback) const in rayTest()
161 if(resultCallback.needsCollision(collisionObject->getBroadphaseHandle())) in rayTest()
167 resultCallback); in rayTest()
DbtCollisionWorld.h445 …st btVector3& rayFromWorld, const btVector3& rayToWorld, RayResultCallback& resultCallback) const;
449 …onst btTransform& from, const btTransform& to, ConvexResultCallback& resultCallback, btScalar all…
453 void contactTest(btCollisionObject* colObj, ContactResultCallback& resultCallback);
457 …est(btCollisionObject* colObjA, btCollisionObject* colObjB, ContactResultCallback& resultCallback);
467 RayResultCallback& resultCallback);
471 RayResultCallback& resultCallback);
478 ConvexResultCallback& resultCallback, btScalar allowedPenetration);
482 ConvexResultCallback& resultCallback, btScalar allowedPenetration);
DbtGhostObject.h46 … btTransform& convexToWorld, btCollisionWorld::ConvexResultCallback& resultCallback, btScalar allo… in ATTRIBUTE_ALIGNED16()
48 …romWorld, const btVector3& rayToWorld, btCollisionWorld::RayResultCallback& resultCallback) const; in ATTRIBUTE_ALIGNED16()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
DbtSoftRigidDynamicsWorld.cpp198 …yToWorld,const btSoftRigidDynamicsWorld* world,btCollisionWorld::RayResultCallback& resultCallback) in btSoftSingleRayCallback()
202 m_resultCallback(resultCallback) in btSoftSingleRayCallback()
264 …onst btVector3& rayFromWorld, const btVector3& rayToWorld, RayResultCallback& resultCallback) const in rayTest()
269 btSoftSingleRayCallback rayCB(rayFromWorld,rayToWorld,this,resultCallback); in rayTest()
287 RayResultCallback& resultCallback) in rayTestSingle() argument
296 if (softResult.fraction<= resultCallback.m_closestHitFraction) in rayTestSingle()
322 resultCallback.addSingleResult(rayResult,normalInWorldSpace); in rayTestSingle()
328 …Single(rayFromTrans,rayToTrans,collisionObject,collisionShape,colObjWorldTransform,resultCallback); in rayTestSingle()
DbtSoftRigidDynamicsWorld.h92 …st btVector3& rayFromWorld, const btVector3& rayToWorld, RayResultCallback& resultCallback) const;
101 RayResultCallback& resultCallback);
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/
DbtSoftRigidDynamicsWorld.java103 … btCollisionShape collisionShape, Matrix4 colObjWorldTransform, RayResultCallback resultCallback) { in rayTestSingle() argument
104 …, collisionShape, colObjWorldTransform, RayResultCallback.getCPtr(resultCallback), resultCallback); in rayTestSingle()
/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_PhysicsSpace.cpp441 AllRayResultCallback resultCallback(native_from, native_to); in Java_com_jme3_bullet_PhysicsSpace_rayTest_1native() local
442 resultCallback.env = env; in Java_com_jme3_bullet_PhysicsSpace_rayTest_1native()
443 resultCallback.resultlist = resultlist; in Java_com_jme3_bullet_PhysicsSpace_rayTest_1native()
444 space->getDynamicsWorld()->rayTest(native_from, native_to, resultCallback); in Java_com_jme3_bullet_PhysicsSpace_rayTest_1native()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
DbtGImpactShape.h278 …ctor3& rayFrom, const btVector3& rayTo, btCollisionWorld::RayResultCallback& resultCallback) const in rayTest() argument
280 (void) rayFrom; (void) rayTo; (void) resultCallback; in rayTest()
1147 …tor3& rayFrom, const btVector3& rayTo, btCollisionWorld::RayResultCallback& resultCallback) const;
DbtGImpactShape.cpp144 …ector3& rayFrom, const btVector3& rayTo, btCollisionWorld::RayResultCallback& resultCallback) const in rayTest()