Home
last modified time | relevance | path

Searched refs:body0 (Results 1 – 25 of 55) sorted by relevance

123

/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DCustomCollisionDispatcher.java81 public boolean needsCollision(btCollisionObject body0, btCollisionObject body1) { in needsCollision() argument
82body0), body0, btCollisionObject.getCPtr(body1), body1) : CollisionJNI.CustomCollisionDispatcher_n… in needsCollision()
85 public boolean needsResponse(btCollisionObject body0, btCollisionObject body1) { in needsResponse() argument
86body0), body0, btCollisionObject.getCPtr(body1), body1) : CollisionJNI.CustomCollisionDispatcher_n… in needsResponse()
DbtManifoldResult.java106 …public static float calculateCombinedRestitution(btCollisionObject body0, btCollisionObject body1)… in calculateCombinedRestitution() argument
107 …ManifoldResult_calculateCombinedRestitution(btCollisionObject.getCPtr(body0), body0, btCollisionOb… in calculateCombinedRestitution()
110 public static float calculateCombinedFriction(btCollisionObject body0, btCollisionObject body1) { in calculateCombinedFriction() argument
111 ….btManifoldResult_calculateCombinedFriction(btCollisionObject.getCPtr(body0), body0, btCollisionOb… in calculateCombinedFriction()
DbtDispatcher.java84 public boolean needsCollision(btCollisionObject body0, btCollisionObject body1) { in needsCollision() argument
85 …btDispatcher_needsCollision(swigCPtr, this, btCollisionObject.getCPtr(body0), body0, btCollisionOb… in needsCollision()
88 public boolean needsResponse(btCollisionObject body0, btCollisionObject body1) { in needsResponse() argument
89 ….btDispatcher_needsResponse(swigCPtr, this, btCollisionObject.getCPtr(body0), body0, btCollisionOb… in needsResponse()
DbtPersistentManifold.java89 …public btPersistentManifold(btCollisionObject body0, btCollisionObject body1, int arg2, float cont… in btPersistentManifold() argument
90 …this(CollisionJNI.new_btPersistentManifold__SWIG_1(btCollisionObject.getCPtr(body0), body0, btColl… in btPersistentManifold()
101 public void setBodies(btCollisionObject body0, btCollisionObject body1) { in setBodies() argument
102 …ersistentManifold_setBodies(swigCPtr, this, btCollisionObject.getCPtr(body0), body0, btCollisionOb… in setBodies()
DbtCollisionAlgorithm.java65 …public float calculateTimeOfImpact(btCollisionObject body0, btCollisionObject body1, btDispatcherI… in calculateTimeOfImpact() argument
66 …rithm_calculateTimeOfImpact(swigCPtr, this, btCollisionObject.getCPtr(body0), body0, btCollisionOb… in calculateTimeOfImpact()
DbtCompoundCompoundCollisionAlgorithm.java69 …public float calculateTimeOfImpact(btCollisionObject body0, btCollisionObject body1, btDispatcherI… in calculateTimeOfImpact() argument
70 …rithm_calculateTimeOfImpact(swigCPtr, this, btCollisionObject.getCPtr(body0), body0, btCollisionOb… in calculateTimeOfImpact()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtCollisionDispatcher.cpp71 btPersistentManifold* btCollisionDispatcher::getNewManifold(const btCollisionObject* body0,const bt… in getNewManifold() argument
82 …btMin(body0->getCollisionShape()->getContactBreakingThreshold(gContactBreakingThreshold) , body1->… in getNewManifold()
85 …btScalar contactProcessingThreshold = btMin(body0->getContactProcessingThreshold(),body1->getConta… in getNewManifold()
105 …btPersistentManifold* manifold = new(mem) btPersistentManifold (body0,body1,0,contactBreakingThres… in getNewManifold()
160 bool btCollisionDispatcher::needsResponse(const btCollisionObject* body0,const btCollisionObject* b… in needsResponse() argument
164 (body0->hasContactResponse() && body1->hasContactResponse()); in needsResponse()
167 ((!body0->isStaticOrKinematicObject()) ||(! body1->isStaticOrKinematicObject())); in needsResponse()
171 bool btCollisionDispatcher::needsCollision(const btCollisionObject* body0,const btCollisionObject* … in needsCollision() argument
173 btAssert(body0); in needsCollision()
182 if (body0->isStaticOrKinematicObject() && body1->isStaticOrKinematicObject()) in needsCollision()
[all …]
DbtManifoldResult.cpp28 inline btScalar calculateCombinedRollingFriction(const btCollisionObject* body0,const btCollisionOb… in calculateCombinedRollingFriction() argument
30 btScalar friction = body0->getRollingFriction() * body1->getRollingFriction(); in calculateCombinedRollingFriction()
43 btScalar btManifoldResult::calculateCombinedFriction(const btCollisionObject* body0,const btCollisi… in calculateCombinedFriction() argument
45 btScalar friction = body0->getFriction() * body1->getFriction(); in calculateCombinedFriction()
56 btScalar btManifoldResult::calculateCombinedRestitution(const btCollisionObject* body0,const btColl… in calculateCombinedRestitution() argument
58 return body0->getRestitution() * body1->getRestitution(); in calculateCombinedRestitution()
DbtManifoldResult.h146 …static btScalar calculateCombinedRestitution(const btCollisionObject* body0,const btCollisionObjec…
147 …static btScalar calculateCombinedFriction(const btCollisionObject* body0,const btCollisionObject* …
DbtCollisionDispatcher.h120 virtual bool needsCollision(const btCollisionObject* body0,const btCollisionObject* body1);
122 virtual bool needsResponse(const btCollisionObject* body0,const btCollisionObject* body1);
DbtConvexConcaveCollisionAlgorithm.cpp221 btScalar btConvexConcaveCollisionAlgorithm::calculateTimeOfImpact(btCollisionObject* body0,btCollis… in calculateTimeOfImpact() argument
225 btCollisionObject* convexbody = m_isSwapped ? body1 : body0; in calculateTimeOfImpact()
226 btCollisionObject* triBody = m_isSwapped ? body0 : body1; in calculateTimeOfImpact()
DbtCompoundCollisionAlgorithm.cpp327 btScalar btCompoundCollisionAlgorithm::calculateTimeOfImpact(btCollisionObject* body0,btCollisionOb… in calculateTimeOfImpact() argument
331 btCollisionObject* colObj = m_isSwapped? body1 : body0; in calculateTimeOfImpact()
332 btCollisionObject* otherObj = m_isSwapped? body0 : body1; in calculateTimeOfImpact()
DbtEmptyCollisionAlgorithm.h35 …virtual btScalar calculateTimeOfImpact(btCollisionObject* body0,btCollisionObject* body1,const btD…
/external/libgdx/extensions/gdx-bullet/jni/src/custom/gdx/collision/
DContactListener.cpp83 inline bool ContactProcessedListener_CB_object_point(btManifoldPoint& cp,void *body0, void *body1) { in ContactProcessedListener_CB_object_point() argument
84 …currentContactProcessedListener->onContactProcessed(cp, (btCollisionObject*)body0, (btCollisionObj… in ContactProcessedListener_CB_object_point()
87 inline bool ContactProcessedListener_CB_value_point(btManifoldPoint& cp,void *body0, void *body1) { in ContactProcessedListener_CB_value_point() argument
89 ((GdxCollisionObjectBridge*)(((btCollisionObject*)body0)->getUserPointer()))->userValue, in ContactProcessedListener_CB_value_point()
93 inline bool ContactProcessedListener_CB_object_filter_point(btManifoldPoint& cp,void *body0, void *… in ContactProcessedListener_CB_object_filter_point() argument
94 const bool match0 = gdxCheckFilter((btCollisionObject*)body0, (btCollisionObject*)body1); in ContactProcessedListener_CB_object_filter_point()
95 const bool match1 = gdxCheckFilter((btCollisionObject*)body1, (btCollisionObject*)body0); in ContactProcessedListener_CB_object_filter_point()
97 …currentContactProcessedListener->onContactProcessed(cp, (btCollisionObject*)body0, match0, (btColl… in ContactProcessedListener_CB_object_filter_point()
100 inline bool ContactProcessedListener_CB_value_filter_point(btManifoldPoint& cp,void *body0, void *b… in ContactProcessedListener_CB_value_filter_point() argument
101 const bool match0 = gdxCheckFilter((btCollisionObject*)body0, (btCollisionObject*)body1); in ContactProcessedListener_CB_value_filter_point()
[all …]
DCustomCollisionDispatcher.h30 virtual bool needsCollision(const btCollisionObject* body0,const btCollisionObject* body1) { in needsCollision() argument
31 return btCollisionDispatcher::needsCollision(body0, body1); in needsCollision()
33 virtual bool needsResponse(const btCollisionObject* body0,const btCollisionObject* body1) { in needsResponse() argument
34 return btCollisionDispatcher::needsResponse(body0, body1); in needsResponse()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/
DbtSolve2LinearConstraint.java66 …public void resolveUnilateralPairConstraint(btRigidBody body0, btRigidBody body1, Matrix3 world2A,… in resolveUnilateralPairConstraint() argument
67 …t_resolveUnilateralPairConstraint(swigCPtr, this, btRigidBody.getCPtr(body0), body0, btRigidBody.g… in resolveUnilateralPairConstraint()
70 …public void resolveBilateralPairConstraint(btRigidBody body0, btRigidBody body1, Matrix3 world2A, … in resolveBilateralPairConstraint() argument
71 …nt_resolveBilateralPairConstraint(swigCPtr, this, btRigidBody.getCPtr(body0), body0, btRigidBody.g… in resolveBilateralPairConstraint()
DbtRotationalLimitMotor.java210 …gularLimits(float timeStep, Vector3 axis, float jacDiagABInv, btRigidBody body0, btRigidBody body1… in solveAngularLimits() argument
211 …its(swigCPtr, this, timeStep, axis, jacDiagABInv, btRigidBody.getCPtr(body0), body0, btRigidBody.g… in solveAngularLimits()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DCollisionDispatcherTest.java34 public boolean needsCollision (btCollisionObject body0, btCollisionObject body1) { in needsCollision() argument
35 …if (body0.getUserValue() % 2 == 0 || body1.getUserValue() % 2 == 0) return super.needsCollision(bo… in needsCollision()
40 public boolean needsResponse (btCollisionObject body0, btCollisionObject body1) { in needsResponse() argument
41 …if (body0.getUserValue() % 2 == 0 || body1.getUserValue() % 2 == 0) return super.needsCollision(bo… in needsResponse()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/
DbtPersistentManifold.h35 typedef bool (*ContactProcessedCallback)(btManifoldPoint& cp,void* body0,void* body1);
94 …btPersistentManifold(const btCollisionObject* body0,const btCollisionObject* body1,int , btScalar … in ATTRIBUTE_ALIGNED128()
96 m_body0(body0),m_body1(body1),m_cachedPoints(0), in ATTRIBUTE_ALIGNED128()
105 void setBodies(const btCollisionObject* body0,const btCollisionObject* body1) in ATTRIBUTE_ALIGNED128()
107 m_body0 = body0; in ATTRIBUTE_ALIGNED128()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
DbtGImpactCollisionAlgorithm.h68 …SIMD_FORCE_INLINE btPersistentManifold* newContactManifold(const btCollisionObject* body0,const bt… in newContactManifold() argument
70 m_manifoldPtr = m_dispatcher->getNewManifold(body0,body1); in newContactManifold()
164 const btCollisionObjectWrapper* body0,
205 …btScalar calculateTimeOfImpact(btCollisionObject* body0,btCollisionObject* body1,const btDispatche…
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtSolve2LinearConstraint.h44 btRigidBody* body0,
69 btRigidBody* body0,
DbtSequentialImpulseConstraintSolver.cpp540 btRigidBody* body0 = m_tmpSolverBodyPool[solverBodyIdA].m_originalBody; in setupFrictionConstraint() local
552 if (body0) in setupFrictionConstraint()
557 …solverConstraint.m_angularComponentA = body0->getInvInertiaTensorWorld()*ftorqueAxis1*body0->getAn… in setupFrictionConstraint()
582 if (body0) in setupFrictionConstraint()
585 denom0 = body0->getInvMass() + normalAxis.dot(vec); in setupFrictionConstraint()
600 …btScalar vel1Dotn = solverConstraint.m_contactNormal1.dot(body0?solverBodyA.m_linearVelocity+solve… in setupFrictionConstraint()
601 … + solverConstraint.m_relpos1CrossNormal.dot(body0?solverBodyA.m_angularVelocity:btVector3(0,0,0)); in setupFrictionConstraint()
644 btRigidBody* body0 = m_tmpSolverBodyPool[solverBodyIdA].m_originalBody; in setupRollingFrictionConstraint() local
659 …solverConstraint.m_angularComponentA = body0 ? body0->getInvInertiaTensorWorld()*ftorqueAxis1*body… in setupRollingFrictionConstraint()
669 …btVector3 iMJaA = body0?body0->getInvInertiaTensorWorld()*solverConstraint.m_relpos1CrossNormal:bt… in setupRollingFrictionConstraint()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
DbtDispatcher.h84 virtual bool needsCollision(const btCollisionObject* body0,const btCollisionObject* body1) = 0;
86 virtual bool needsResponse(const btCollisionObject* body0,const btCollisionObject* body1)=0;
DbtCollisionAlgorithm.h75 …virtual btScalar calculateTimeOfImpact(btCollisionObject* body0,btCollisionObject* body1,const btD…
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
DbtSoftBodyConcaveCollisionAlgorithm.cpp244 btScalar btSoftBodyConcaveCollisionAlgorithm::calculateTimeOfImpact(btCollisionObject* body0,btColl… in calculateTimeOfImpact() argument
248 btCollisionObject* convexbody = m_isSwapped ? body1 : body0; in calculateTimeOfImpact()
249 btCollisionObject* triBody = m_isSwapped ? body0 : body1; in calculateTimeOfImpact()

123