/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/ |
D | btContactConstraint.cpp | 75 btRigidBody* body1, in resolveSingleCollision() argument 87 btVector3 rel_pos1 = contactPositionWorld - body1->getWorldTransform().getOrigin(); in resolveSingleCollision() 90 btVector3 vel1 = body1->getVelocityInLocalPoint(rel_pos1); in resolveSingleCollision() 101 btScalar denom0 = body1->computeImpulseDenominator(contactPositionWorld,normal); in resolveSingleCollision() 112 body1->applyImpulse(normal*(normalImpulse), rel_pos1); in resolveSingleCollision() 121 void resolveSingleBilateral(btRigidBody& body1, const btVector3& pos1, in resolveSingleBilateral() argument 136 btVector3 rel_pos1 = pos1 - body1.getCenterOfMassPosition(); in resolveSingleBilateral() 140 btVector3 vel1 = body1.getVelocityInLocalPoint(rel_pos1); in resolveSingleBilateral() 145 btJacobianEntry jac(body1.getCenterOfMassTransform().getBasis().transpose(), in resolveSingleBilateral() 147 rel_pos1,rel_pos2,normal,body1.getInvInertiaDiagLocal(),body1.getInvMass(), in resolveSingleBilateral() [all …]
|
D | btSequentialImpulseConstraintSolver.cpp | 45 static btSimdScalar gResolveSingleConstraintRowGeneric_scalar_reference(btSolverBody& body1, btSolv… in gResolveSingleConstraintRowGeneric_scalar_reference() argument 48 …deltaVel1Dotn = c.m_contactNormal1.dot(body1.internalGetDeltaLinearVelocity()) + c.m_relpos1CrossN… in gResolveSingleConstraintRowGeneric_scalar_reference() 71 …body1.internalApplyImpulse(c.m_contactNormal1*body1.internalGetInvMass(), c.m_angularComponentA, d… in gResolveSingleConstraintRowGeneric_scalar_reference() 78 static btSimdScalar gResolveSingleConstraintRowLowerLimit_scalar_reference(btSolverBody& body1, btS… in gResolveSingleConstraintRowLowerLimit_scalar_reference() argument 81 …deltaVel1Dotn = c.m_contactNormal1.dot(body1.internalGetDeltaLinearVelocity()) + c.m_relpos1CrossN… in gResolveSingleConstraintRowLowerLimit_scalar_reference() 96 …body1.internalApplyImpulse(c.m_contactNormal1*body1.internalGetInvMass(), c.m_angularComponentA, d… in gResolveSingleConstraintRowLowerLimit_scalar_reference() 152 static btSimdScalar gResolveSingleConstraintRowGeneric_sse2(btSolverBody& body1, btSolverBody& body… in gResolveSingleConstraintRowGeneric_sse2() argument 158 …c.m_contactNormal1.mVec128, body1.internalGetDeltaLinearVelocity().mVec128), btSimdDot3(c.m_relpos… in gResolveSingleConstraintRowGeneric_sse2() 172 …__m128 linearComponentA = _mm_mul_ps(c.m_contactNormal1.mVec128, body1.internalGetInvMass().mVec12… in gResolveSingleConstraintRowGeneric_sse2() 175 …body1.internalGetDeltaLinearVelocity().mVec128 = _mm_add_ps(body1.internalGetDeltaLinearVelocity()… in gResolveSingleConstraintRowGeneric_sse2() [all …]
|
D | btNNCGConstraintSolver.cpp | 130 btSolverBody& body1 = m_tmpSolverBodyPool[constraint.m_solverBodyIdA]; in solveSingleIteration() local 133 …body1.internalApplyImpulse(c.m_contactNormal1*body1.internalGetInvMass(),c.m_angularComponentA,add… in solveSingleIteration() 388 btSolverBody& body1 = m_tmpSolverBodyPool[constraint.m_solverBodyIdA]; in solveSingleIteration() local 391 …body1.internalApplyImpulse(c.m_contactNormal1*body1.internalGetInvMass(),c.m_angularComponentA,add… in solveSingleIteration() 402 btSolverBody& body1 = m_tmpSolverBodyPool[constraint.m_solverBodyIdA]; in solveSingleIteration() local 405 …body1.internalApplyImpulse(c.m_contactNormal1*body1.internalGetInvMass(),c.m_angularComponentA,add… in solveSingleIteration() 416 btSolverBody& body1 = m_tmpSolverBodyPool[constraint.m_solverBodyIdA]; in solveSingleIteration() local 419 …body1.internalApplyImpulse(c.m_contactNormal1*body1.internalGetInvMass(),c.m_angularComponentA,add… in solveSingleIteration() 431 btSolverBody& body1 = m_tmpSolverBodyPool[constraint.m_solverBodyIdA]; in solveSingleIteration() local 434 …body1.internalApplyImpulse(c.m_contactNormal1*body1.internalGetInvMass(),c.m_angularComponentA,add… in solveSingleIteration()
|
D | btSolve2LinearConstraint.cpp | 26 btRigidBody* body1, in resolveUnilateralPairConstraint() argument 72 …const btScalar vel0 = normalA.dot(body1->getVelocityInLocalPoint(rel_posA1)-body2->getVelocityInLo… in resolveUnilateralPairConstraint() 73 …const btScalar vel1 = normalB.dot(body1->getVelocityInLocalPoint(rel_posB1)-body2->getVelocityInLo… in resolveUnilateralPairConstraint() 115 btRigidBody* body1, in resolveBilateralPairConstraint() argument 161 …const btScalar vel0 = normalA.dot(body1->getVelocityInLocalPoint(rel_posA1)-body2->getVelocityInLo… in resolveBilateralPairConstraint() 162 …const btScalar vel1 = normalB.dot(body1->getVelocityInLocalPoint(rel_posB1)-body2->getVelocityInLo… in resolveBilateralPairConstraint()
|
D | btContactConstraint.h | 61 btScalar resolveSingleCollision(btRigidBody* body1, class btCollisionObject* colObj2, const btVecto… 65 void resolveSingleBilateral(btRigidBody& body1, const btVector3& pos1,
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
D | CustomCollisionDispatcher.java | 81 public boolean needsCollision(btCollisionObject body0, btCollisionObject body1) { in needsCollision() argument 82 …body1), body1) : CollisionJNI.CustomCollisionDispatcher_needsCollisionSwigExplicitCustomCollisionD… in needsCollision() 85 public boolean needsResponse(btCollisionObject body0, btCollisionObject body1) { in needsResponse() argument 86 …body1), body1) : CollisionJNI.CustomCollisionDispatcher_needsResponseSwigExplicitCustomCollisionDi… in needsResponse()
|
D | btManifoldResult.java | 106 …public static float calculateCombinedRestitution(btCollisionObject body0, btCollisionObject body1)… in calculateCombinedRestitution() argument 107 …binedRestitution(btCollisionObject.getCPtr(body0), body0, btCollisionObject.getCPtr(body1), body1); in calculateCombinedRestitution() 110 public static float calculateCombinedFriction(btCollisionObject body0, btCollisionObject body1) { in calculateCombinedFriction() argument 111 …CombinedFriction(btCollisionObject.getCPtr(body0), body0, btCollisionObject.getCPtr(body1), body1); in calculateCombinedFriction()
|
D | btDispatcher.java | 84 public boolean needsCollision(btCollisionObject body0, btCollisionObject body1) { in needsCollision() argument 85 …(swigCPtr, this, btCollisionObject.getCPtr(body0), body0, btCollisionObject.getCPtr(body1), body1); in needsCollision() 88 public boolean needsResponse(btCollisionObject body0, btCollisionObject body1) { in needsResponse() argument 89 …(swigCPtr, this, btCollisionObject.getCPtr(body0), body0, btCollisionObject.getCPtr(body1), body1); in needsResponse()
|
D | btPersistentManifold.java | 89 …public btPersistentManifold(btCollisionObject body0, btCollisionObject body1, int arg2, float cont… in btPersistentManifold() argument 90 …_1(btCollisionObject.getCPtr(body0), body0, btCollisionObject.getCPtr(body1), body1, arg2, contact… in btPersistentManifold() local 101 public void setBodies(btCollisionObject body0, btCollisionObject body1) { in setBodies() argument 102 …(swigCPtr, this, btCollisionObject.getCPtr(body0), body0, btCollisionObject.getCPtr(body1), body1); in setBodies()
|
D | btCollisionAlgorithm.java | 65 …public float calculateTimeOfImpact(btCollisionObject body0, btCollisionObject body1, btDispatcherI… in calculateTimeOfImpact() argument 66 …s, btCollisionObject.getCPtr(body0), body0, btCollisionObject.getCPtr(body1), body1, btDispatcherI… in calculateTimeOfImpact()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
D | btCollisionDispatcher.cpp | 71 …CollisionDispatcher::getNewManifold(const btCollisionObject* body0,const btCollisionObject* body1) 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 …btCollisionDispatcher::needsResponse(const btCollisionObject* body0,const btCollisionObject* body1) in needsResponse() argument 164 (body0->hasContactResponse() && body1->hasContactResponse()); in needsResponse() 167 ((!body0->isStaticOrKinematicObject()) ||(! body1->isStaticOrKinematicObject())); in needsResponse() 171 …tCollisionDispatcher::needsCollision(const btCollisionObject* body0,const btCollisionObject* body1) in needsCollision() argument 174 btAssert(body1); in needsCollision() 182 if (body0->isStaticOrKinematicObject() && body1->isStaticOrKinematicObject()) in needsCollision() [all …]
|
D | btManifoldResult.cpp | 28 …lar calculateCombinedRollingFriction(const btCollisionObject* body0,const btCollisionObject* body1) in calculateCombinedRollingFriction() argument 30 btScalar friction = body0->getRollingFriction() * body1->getRollingFriction(); in calculateCombinedRollingFriction() 43 …oldResult::calculateCombinedFriction(const btCollisionObject* body0,const btCollisionObject* body1) in calculateCombinedFriction() argument 45 btScalar friction = body0->getFriction() * body1->getFriction(); in calculateCombinedFriction() 56 …Result::calculateCombinedRestitution(const btCollisionObject* body0,const btCollisionObject* body1) in calculateCombinedRestitution() argument 58 return body0->getRestitution() * body1->getRestitution(); in calculateCombinedRestitution()
|
/external/libgdx/extensions/gdx-bullet/jni/src/custom/gdx/collision/ |
D | ContactListener.cpp | 83 inline bool ContactProcessedListener_CB_object_point(btManifoldPoint& cp,void *body0, void *body1) { in ContactProcessedListener_CB_object_point() argument 84 …actProcessedListener->onContactProcessed(cp, (btCollisionObject*)body0, (btCollisionObject*)body1); in ContactProcessedListener_CB_object_point() 87 inline bool ContactProcessedListener_CB_value_point(btManifoldPoint& cp,void *body0, void *body1) { in ContactProcessedListener_CB_value_point() argument 90 ((GdxCollisionObjectBridge*)(((btCollisionObject*)body1)->getUserPointer()))->userValue); in ContactProcessedListener_CB_value_point() 93 …ool ContactProcessedListener_CB_object_filter_point(btManifoldPoint& cp,void *body0, void *body1) { 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 …ener->onContactProcessed(cp, (btCollisionObject*)body0, match0, (btCollisionObject*)body1, match1); in ContactProcessedListener_CB_object_filter_point() 100 …bool ContactProcessedListener_CB_value_filter_point(btManifoldPoint& cp,void *body0, void *body1) { in ContactProcessedListener_CB_value_filter_point() argument 101 const bool match0 = gdxCheckFilter((btCollisionObject*)body0, (btCollisionObject*)body1); in ContactProcessedListener_CB_value_filter_point() [all …]
|
D | CustomCollisionDispatcher.h | 30 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/llvm/test/Analysis/BranchProbabilityInfo/ |
D | loop.ll | 17 br label %do.body1 18 ; CHECK: edge do.body -> do.body1 probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 20 do.body1: 21 %j.0 = phi i32 [ 0, %do.body ], [ %inc, %do.body1 ] 25 br i1 %cmp, label %do.body1, label %do.end 26 ; CHECK: edge do.body1 -> do.body1 probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 27 ; CHECK: edge do.body1 -> do.end probability is 0x04000000 / 0x80000000 = 3.12% 93 br i1 %cmp, label %do.body1, label %if.end 94 ; CHECK: edge do.body -> do.body1 probability is 0x40000000 / 0x80000000 = 50.00% 97 do.body1: [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | sink-out-of-loop.ll | 22 br label %for.body1.lr 24 for.body1.lr: 26 br label %for.body1 28 for.body1: 29 %iv.i = phi i64 [ 0, %for.body1.lr ], [ %iv.next.i, %for.body1 ] 33 br i1 %exitcond33, label %for.inc40.i, label %for.body1 38 br i1 %exitcond49.i, label %exit, label %for.body1.lr
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/joints/ |
D | WeldJointDef.java | 29 public void initialize (Body body1, Body body2, Vector2 anchor) { in initialize() argument 30 this.bodyA = body1; in initialize() 32 this.localAnchorA.set(body1.getLocalPoint(anchor)); in initialize() 34 referenceAngle = body2.getAngle() - body1.getAngle(); in initialize()
|
D | MotorJointDef.java | 30 public void initialize (Body body1, Body body2) { in initialize() argument 31 this.bodyA = body1; in initialize()
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/ |
D | Dynamics.java | 88 …public static float resolveSingleCollision(btRigidBody body1, btCollisionObject colObj2, Vector3 c… in resolveSingleCollision() argument 89 …return DynamicsJNI.resolveSingleCollision(btRigidBody.getCPtr(body1), body1, btCollisionObject.get… in resolveSingleCollision() 92 …public static void resolveSingleBilateral(btRigidBody body1, Vector3 pos1, btRigidBody body2, Vect… in resolveSingleBilateral() argument 93 …DynamicsJNI.resolveSingleBilateral(btRigidBody.getCPtr(body1), body1, pos1, btRigidBody.getCPtr(bo… in resolveSingleBilateral() local
|
D | btSolve2LinearConstraint.java | 66 …public void resolveUnilateralPairConstraint(btRigidBody body0, btRigidBody body1, Matrix3 world2A,… in resolveUnilateralPairConstraint() argument 67 …wigCPtr, this, btRigidBody.getCPtr(body0), body0, btRigidBody.getCPtr(body1), body1, world2A, worl… in resolveUnilateralPairConstraint() 70 …public void resolveBilateralPairConstraint(btRigidBody body0, btRigidBody body1, Matrix3 world2A, … in resolveBilateralPairConstraint() argument 71 …wigCPtr, this, btRigidBody.getCPtr(body0), body0, btRigidBody.getCPtr(body1), body1, world2A, worl… in resolveBilateralPairConstraint()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
D | CollisionDispatcherTest.java | 34 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-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/joints/ |
D | WeldJointDef.java | 30 public void initialize (Body body1, Body body2, Vector2 anchor) { in initialize() argument 31 this.bodyA = body1; in initialize() 33 this.localAnchorA.set(body1.getLocalPoint(anchor)); in initialize() 35 referenceAngle = body2.getAngle() - body1.getAngle(); in initialize()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/ |
D | btPersistentManifold.h | 35 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() 108 m_body1 = body1; in ATTRIBUTE_ALIGNED128()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
D | btGImpactCollisionAlgorithm.h | 68 …rsistentManifold* newContactManifold(const btCollisionObject* body0,const btCollisionObject* body1) in newContactManifold() argument 70 m_manifoldPtr = m_dispatcher->getNewManifold(body0,body1); in newContactManifold() 165 const btCollisionObjectWrapper* body1, 205 …btScalar calculateTimeOfImpact(btCollisionObject* body0,btCollisionObject* body1,const btDispatche…
|
/external/llvm/test/Analysis/ScalarEvolution/ |
D | SolveQuadraticEquation.ll | 41 br label %for.body1 43 for.body1: 44 %a0.08 = phi i64 [ 0, %entry ], [ %inc512, %for.body1 ] 46 br i1 %cmp, label %preheader, label %for.body1
|