Home
last modified time | relevance | path

Searched refs:invMass (Results 1 – 15 of 15) sorted by relevance

/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/
Db2DistanceJoint.cpp102 float32 invMass = m_invMassA + m_invIA * crAu * crAu + m_invMassB + m_invIB * crBu * crBu; in InitVelocityConstraints() local
105 m_mass = invMass != 0.0f ? 1.0f / invMass : 0.0f; in InitVelocityConstraints()
126 invMass += m_gamma; in InitVelocityConstraints()
127 m_mass = invMass != 0.0f ? 1.0f / invMass : 0.0f; in InitVelocityConstraints()
Db2RopeJoint.cpp100 float32 invMass = m_invMassA + m_invIA * crA * crA + m_invMassB + m_invIB * crB * crB; in InitVelocityConstraints() local
102 m_mass = invMass != 0.0f ? 1.0f / invMass : 0.0f; in InitVelocityConstraints()
Db2WheelJoint.cpp132 float32 invMass = mA + mB + iA * m_sAx * m_sAx + iB * m_sBx * m_sBx; in InitVelocityConstraints() local
134 if (invMass > 0.0f) in InitVelocityConstraints()
136 m_springMass = 1.0f / invMass; in InitVelocityConstraints()
159 m_springMass = invMass + m_gamma; in InitVelocityConstraints()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/joints/
DDistanceJoint.java213 float invMass = m_invMassA + m_invIA * crAu * crAu + m_invMassB + m_invIB * crBu * crBu; in initVelocityConstraints() local
216 m_mass = invMass != 0.0f ? 1.0f / invMass : 0.0f; in initVelocityConstraints()
236 invMass += m_gamma; in initVelocityConstraints()
237 m_mass = invMass != 0.0f ? 1.0f / invMass : 0.0f; in initVelocityConstraints()
DRopeJoint.java110 float invMass = m_invMassA + m_invIA * crA * crA + m_invMassB + m_invIB * crB * crB; in initVelocityConstraints() local
112 m_mass = invMass != 0.0f ? 1.0f / invMass : 0.0f; in initVelocityConstraints()
DWheelJoint.java288 float invMass = mA + mB + iA * m_sAx * m_sAx + iB * m_sBx * m_sBx; in initVelocityConstraints() local
290 if (invMass > 0.0f) { in initVelocityConstraints()
291 m_springMass = 1.0f / invMass; in initVelocityConstraints()
313 m_springMass = invMass + m_gamma; in initVelocityConstraints()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtSolverBody.h228 void internalSetInvMass(const btVector3& invMass) in ATTRIBUTE_ALIGNED16()
230 m_invMass = invMass; in ATTRIBUTE_ALIGNED16()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/MLCPSolvers/
DbtMLCPSolver.cpp499 const btVector3& invMass = rb.m_invMass; in createMLCP() local
500 setElem(Minv,i*6+0,i*6+0,invMass[0]); in createMLCP()
501 setElem(Minv,i*6+1,i*6+1,invMass[1]); in createMLCP()
502 setElem(Minv,i*6+2,i*6+2,invMass[2]); in createMLCP()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/
DbtSolverBody.java214 public void internalSetInvMass(Vector3 invMass) { in internalSetInvMass() argument
215 DynamicsJNI.btSolverBody_internalSetInvMass(swigCPtr, this, invMass); in internalSetInvMass()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
DbtSoftBodyInternals.h683 joint.m_massmatrix = ImpulseMatrix( ba.invMass(),ba.invWorldInertia(),joint.m_rpos[0], in SolveContact()
684 bb.invMass(),bb.invWorldInertia(),joint.m_rpos[1]); in SolveContact()
DbtSoftBody.h404 btScalar invMass() const in invMass() function
DbtSoftBody.cpp2780 m_massmatrix = ImpulseMatrix( m_bodies[0].invMass(),m_bodies[0].invWorldInertia(),m_rpos[0], in Prepare()
2781 m_bodies[1].invMass(),m_bodies[1].invWorldInertia(),m_rpos[1]); in Prepare()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/
DParticleSystem.java861 final float invMass = getParticleInvMass();
862 velA.x += invMass * f.x;
863 velA.y += invMass * f.y;
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/
DbtSoftBody.java2343 public float invMass() { in invMass() method in btSoftBody.Body
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/
Dsoftbody_wrap.cpp7382 result = (btScalar)((btSoftBody::Body const *)arg1)->invMass(); in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Body_1invMass()