Home
last modified time | relevance | path

Searched refs:m_ratio (Results 1 – 10 of 10) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtGearConstraint.h42 btScalar m_ratio; variable
64 m_ratio = ratio; in setRatio()
76 return m_ratio; in getRatio()
114 float m_ratio; member
125 double m_ratio; member
142 gear->m_ratio = m_ratio; in serialize()
DbtGearConstraint.cpp24 m_ratio(ratio) in btGearConstraint()
49 info->m_J2angularAxis[0] = m_ratio*globalAxisB[0]; in getInfo2()
50 info->m_J2angularAxis[1] = m_ratio*globalAxisB[1]; in getInfo2()
51 info->m_J2angularAxis[2] = m_ratio*globalAxisB[2]; in getInfo2()
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/
Db2GearJoint.cpp124 m_ratio = def->ratio; in b2GearJoint()
126 m_constant = coordinateA + m_ratio * coordinateB; in b2GearJoint()
191 m_JwB = m_ratio; in InitVelocityConstraints()
192 m_JwD = m_ratio; in InitVelocityConstraints()
193 m_mass += m_ratio * m_ratio * (m_iB + m_iD); in InitVelocityConstraints()
200 m_JvBD = m_ratio * u; in InitVelocityConstraints()
201 m_JwD = m_ratio * b2Cross(rD, u); in InitVelocityConstraints()
202 m_JwB = m_ratio * b2Cross(rB, u); in InitVelocityConstraints()
203 m_mass += m_ratio * m_ratio * (m_mD + m_mB) + m_iD * m_JwD * m_JwD + m_iB * m_JwB * m_JwB; in InitVelocityConstraints()
319 JwB = m_ratio; in SolvePositionConstraints()
[all …]
Db2PulleyJoint.cpp66 m_ratio = def->ratio; in b2PulleyJoint()
68 m_constant = def->lengthA + m_ratio * def->lengthB; in b2PulleyJoint()
131 m_mass = mA + m_ratio * m_ratio * mB; in InitVelocityConstraints()
145 b2Vec2 PB = (-m_ratio * m_impulse) * m_uB; in InitVelocityConstraints()
173 float32 Cdot = -b2Dot(m_uA, vpA) - m_ratio * b2Dot(m_uB, vpB); in SolveVelocityConstraints()
178 b2Vec2 PB = -m_ratio * impulse * m_uB; in SolveVelocityConstraints()
234 float32 mass = mA + m_ratio * m_ratio * mB; in SolvePositionConstraints()
241 float32 C = m_constant - lengthA - m_ratio * lengthB; in SolvePositionConstraints()
247 b2Vec2 PB = -m_ratio * impulse * uB; in SolvePositionConstraints()
306 return m_ratio; in GetRatio()
[all …]
Db2GearJoint.h111 float32 m_ratio; variable
Db2PulleyJoint.h133 float32 m_ratio; variable
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/joints/
DGearJoint.java93 private float m_ratio; field in GearJoint
191 m_ratio = def.ratio; in GearJoint()
193 m_constant = coordinateA + m_ratio * coordinateB; in GearJoint()
221 m_ratio = argRatio; in setRatio()
225 return m_ratio; in getRatio()
296 m_JwB = m_ratio; in initVelocityConstraints()
297 m_JwD = m_ratio; in initVelocityConstraints()
298 m_mass += m_ratio * m_ratio * (m_iB + m_iD); in initVelocityConstraints()
306 m_JvBD.set(u).mulLocal(m_ratio); in initVelocityConstraints()
307 m_JwD = m_ratio * Vec2.cross(rD, u); in initVelocityConstraints()
[all …]
DPulleyJoint.java58 private float m_ratio; field in PulleyJoint
84 m_ratio = def.ratio; in PulleyJoint()
89 m_constant = def.lengthA + m_ratio * def.lengthB; in PulleyJoint()
178 return m_ratio; in getRatio()
238 m_mass = mA + m_ratio * m_ratio * mB; in initVelocityConstraints()
254 PB.set(m_uB).mulLocal(-m_ratio * m_impulse); in initVelocityConstraints()
293 float Cdot = -Vec2.dot(m_uA, vpA) - m_ratio * Vec2.dot(m_uB, vpB); in solveVelocityConstraints()
298 PB.set(m_uB).mulLocal(-m_ratio * impulse); in solveVelocityConstraints()
362 float mass = mA + m_ratio * m_ratio * mB; in solvePositionConstraints()
368 float C = m_constant - lengthA - m_ratio * lengthB; in solvePositionConstraints()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletFileLoader/autogenerated/
Dbullet.h1048 float m_ratio; variable
1060 double m_ratio; variable
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/
DbtWorldImporter.cpp949 gear = createGearConstraint(*rbA, *rbB, axisInA,axisInB, gearData->m_ratio); in convertConstraintFloat()
1278 gear = createGearConstraint(*rbA, *rbB, axisInA,axisInB, gearData->m_ratio); in convertConstraintDouble()