Home
last modified time | relevance | path

Searched refs:solverConstraint (Results 1 – 6 of 6) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
DbtMultiBodyConstraint.cpp61 …alar btMultiBodyConstraint::fillMultiBodyConstraint( btMultiBodySolverConstraint& solverConstraint, in fillMultiBodyConstraint() argument
74 solverConstraint.m_multiBodyA = m_bodyA; in fillMultiBodyConstraint()
75 solverConstraint.m_multiBodyB = m_bodyB; in fillMultiBodyConstraint()
76 solverConstraint.m_linkA = m_linkA; in fillMultiBodyConstraint()
77 solverConstraint.m_linkB = m_linkB; in fillMultiBodyConstraint()
79 btMultiBody* multiBodyA = solverConstraint.m_multiBodyA; in fillMultiBodyConstraint()
80 btMultiBody* multiBodyB = solverConstraint.m_multiBodyB; in fillMultiBodyConstraint()
82 …btSolverBody* bodyA = multiBodyA ? 0 : &data.m_solverBodyPool->at(solverConstraint.m_solverBodyIdA… in fillMultiBodyConstraint()
83 …btSolverBody* bodyB = multiBodyB ? 0 : &data.m_solverBodyPool->at(solverConstraint.m_solverBodyIdB… in fillMultiBodyConstraint()
96 if (solverConstraint.m_linkA<0) in fillMultiBodyConstraint()
[all …]
DbtMultiBodyConstraintSolver.cpp257 …dyConstraintSolver::setupMultiBodyContactConstraint(btMultiBodySolverConstraint& solverConstraint, in setupMultiBodyContactConstraint() argument
268 btMultiBody* multiBodyA = solverConstraint.m_multiBodyA; in setupMultiBodyContactConstraint()
269 btMultiBody* multiBodyB = solverConstraint.m_multiBodyB; in setupMultiBodyContactConstraint()
274 btSolverBody* bodyA = multiBodyA ? 0 : &m_tmpSolverBodyPool[solverConstraint.m_solverBodyIdA]; in setupMultiBodyContactConstraint()
275 btSolverBody* bodyB = multiBodyB ? 0 : &m_tmpSolverBodyPool[solverConstraint.m_solverBodyIdB]; in setupMultiBodyContactConstraint()
292 if (solverConstraint.m_linkA<0) in setupMultiBodyContactConstraint()
297 …rel_pos1 = pos1 - multiBodyA->getLink(solverConstraint.m_linkA).m_cachedWorldTransform.getOrigin(); in setupMultiBodyContactConstraint()
301 solverConstraint.m_deltaVelAindex = multiBodyA->getCompanionId(); in setupMultiBodyContactConstraint()
303 if (solverConstraint.m_deltaVelAindex <0) in setupMultiBodyContactConstraint()
305 solverConstraint.m_deltaVelAindex = m_data.m_deltaVelocities.size(); in setupMultiBodyContactConstraint()
[all …]
DbtMultiBodyConstraintSolver.h58 void setupMultiBodyContactConstraint(btMultiBodySolverConstraint& solverConstraint, in ATTRIBUTE_ALIGNED16()
DbtMultiBodyConstraint.h70 btScalar fillMultiBodyConstraint(btMultiBodySolverConstraint& solverConstraint,
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtSequentialImpulseConstraintSolver.cpp533 …mpulseConstraintSolver::setupFrictionConstraint(btSolverConstraint& solverConstraint, const btVect… in setupFrictionConstraint() argument
543 solverConstraint.m_solverBodyIdA = solverBodyIdA; in setupFrictionConstraint()
544 solverConstraint.m_solverBodyIdB = solverBodyIdB; in setupFrictionConstraint()
546 solverConstraint.m_friction = cp.m_combinedFriction; in setupFrictionConstraint()
547 solverConstraint.m_originalContactPoint = 0; in setupFrictionConstraint()
549 solverConstraint.m_appliedImpulse = 0.f; in setupFrictionConstraint()
550 solverConstraint.m_appliedPushImpulse = 0.f; in setupFrictionConstraint()
554 solverConstraint.m_contactNormal1 = normalAxis; in setupFrictionConstraint()
555 btVector3 ftorqueAxis1 = rel_pos1.cross(solverConstraint.m_contactNormal1); in setupFrictionConstraint()
556 solverConstraint.m_relpos1CrossNormal = ftorqueAxis1; in setupFrictionConstraint()
[all …]
DbtSequentialImpulseConstraintSolver.h52 …void setupFrictionConstraint( btSolverConstraint& solverConstraint, const btVector3& normalAxis,in… in ATTRIBUTE_ALIGNED16()
57 …void setupRollingFrictionConstraint( btSolverConstraint& solverConstraint, const btVector3& normal… in ATTRIBUTE_ALIGNED16()
66 …void setupContactConstraint(btSolverConstraint& solverConstraint, int solverBodyIdA, int solverBod… in ATTRIBUTE_ALIGNED16()
71 …void setFrictionConstraintImpulse( btSolverConstraint& solverConstraint, int solverBodyIdA,int sol… in ATTRIBUTE_ALIGNED16()