Home
last modified time | relevance | path

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

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtSolve2LinearConstraint.cpp66 btJacobianEntry jacB(world2A,world2B,rel_posB1,rel_posB2,normalB,invInertiaADiag,invMassA, in resolveUnilateralPairConstraint() local
95 btScalar nonDiag = jacA.getNonDiagonal(jacB,invMassA,invMassB); in resolveUnilateralPairConstraint()
96 btScalar invDet = btScalar(1.0) / (jacA.getDiagonal() * jacB.getDiagonal() - nonDiag * nonDiag ); in resolveUnilateralPairConstraint()
102 imp1 = dv1 * jacB.getDiagonal() * invDet + dv0 * - nonDiag * invDet; in resolveUnilateralPairConstraint()
155 btJacobianEntry jacB(world2A,world2B,rel_posB1,rel_posB2,normalB,invInertiaADiag,invMassA, in resolveBilateralPairConstraint() local
179 btScalar nonDiag = jacA.getNonDiagonal(jacB,invMassA,invMassB); in resolveBilateralPairConstraint()
180 btScalar invDet = btScalar(1.0) / (jacA.getDiagonal() * jacB.getDiagonal() - nonDiag * nonDiag ); in resolveBilateralPairConstraint()
186 imp1 = dv1 * jacB.getDiagonal() * invDet + dv0 * - nonDiag * invDet; in resolveBilateralPairConstraint()
218 imp1 = dv1 / jacB.getDiagonal(); in resolveBilateralPairConstraint()
DbtJacobianEntry.h109 btScalar getNonDiagonal(const btJacobianEntry& jacB, const btScalar massInvA) const in ATTRIBUTE_ALIGNED16()
112 btScalar lin = massInvA * jacA.m_linearJointAxis.dot(jacB.m_linearJointAxis); in ATTRIBUTE_ALIGNED16()
113 btScalar ang = jacA.m_0MinvJt.dot(jacB.m_aJ); in ATTRIBUTE_ALIGNED16()
120 …btScalar getNonDiagonal(const btJacobianEntry& jacB,const btScalar massInvA,const btScalar massInv… in ATTRIBUTE_ALIGNED16()
123 btVector3 lin = jacA.m_linearJointAxis * jacB.m_linearJointAxis; in ATTRIBUTE_ALIGNED16()
124 btVector3 ang0 = jacA.m_0MinvJt * jacB.m_aJ; in ATTRIBUTE_ALIGNED16()
125 btVector3 ang1 = jacA.m_1MinvJt * jacB.m_bJ; in ATTRIBUTE_ALIGNED16()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/
DbtJacobianEntry.java86 public float getNonDiagonal(btJacobianEntry jacB, float massInvA) { in getNonDiagonal() argument
87 …acobianEntry_getNonDiagonal__SWIG_0(swigCPtr, this, btJacobianEntry.getCPtr(jacB), jacB, massInvA); in getNonDiagonal()
90 public float getNonDiagonal(btJacobianEntry jacB, float massInvA, float massInvB) { in getNonDiagonal() argument
91 …anEntry_getNonDiagonal__SWIG_1(swigCPtr, this, btJacobianEntry.getCPtr(jacB), jacB, massInvA, mass… in getNonDiagonal()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
DbtMultiBodyConstraint.cpp226 btScalar* jacB = 0; in fillMultiBodyConstraint() local
253 jacB = &data.m_jacobians[solverConstraint.m_jacBindex]; in fillMultiBodyConstraint()
257 btScalar j = jacB[i] ; in fillMultiBodyConstraint()
305 btScalar* jacB = &data.m_jacobians[solverConstraint.m_jacBindex]; in fillMultiBodyConstraint() local
307 rel_vel += multiBodyB->getVelocityVector()[i] * jacB[i]; in fillMultiBodyConstraint()
DbtMultiBodyConstraintSolver.h54 btScalar* jacA,btScalar* jacB, in ATTRIBUTE_ALIGNED16()
DbtMultiBodyConstraintSolver.cpp395 btScalar* jacB = 0; in setupMultiBodyContactConstraint() local
422 jacB = &m_data.m_jacobians[solverConstraint.m_jacBindex]; in setupMultiBodyContactConstraint()
426 btScalar j = jacB[i] ; in setupMultiBodyContactConstraint()
484 btScalar* jacB = &m_data.m_jacobians[solverConstraint.m_jacBindex]; in setupMultiBodyContactConstraint() local
486 rel_vel += multiBodyB->getVelocityVector()[i] * jacB[i]; in setupMultiBodyContactConstraint()