Home
last modified time | relevance | path

Searched refs:m_bodyB (Results 1 – 25 of 35) sorted by relevance

12

/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/
Db2MouseJoint.cpp40 m_localAnchorB = b2MulT(m_bodyB->GetTransform(), m_targetA); in b2MouseJoint()
54 if (m_bodyB->IsAwake() == false) in SetTarget()
56 m_bodyB->SetAwake(true); in SetTarget()
98 m_indexB = m_bodyB->m_islandIndex; in InitVelocityConstraints()
99 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
100 m_invMassB = m_bodyB->m_invMass; in InitVelocityConstraints()
101 m_invIB = m_bodyB->m_invI; in InitVelocityConstraints()
110 float32 mass = m_bodyB->GetMass(); in InitVelocityConstraints()
206 return m_bodyB->GetWorldPoint(m_localAnchorB); in GetAnchorB()
Db2WheelJoint.cpp80 m_indexB = m_bodyB->m_islandIndex; in InitVelocityConstraints()
82 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
84 m_invMassB = m_bodyB->m_invMass; in InitVelocityConstraints()
86 m_invIB = m_bodyB->m_invI; in InitVelocityConstraints()
336 return m_bodyB->GetWorldPoint(m_localAnchorB); in GetAnchorB()
352 b2Body* bB = m_bodyB; in GetJointTranslation()
366 float32 wB = m_bodyB->m_angularVelocity; in GetJointSpeed()
378 m_bodyB->SetAwake(true); in EnableMotor()
385 m_bodyB->SetAwake(true); in SetMotorSpeed()
392 m_bodyB->SetAwake(true); in SetMaxMotorTorque()
[all …]
Db2MotorJoint.cpp64 m_indexB = m_bodyB->m_islandIndex; in InitVelocityConstraints()
66 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
68 m_invMassB = m_bodyB->m_invMass; in InitVelocityConstraints()
70 m_invIB = m_bodyB->m_invI; in InitVelocityConstraints()
213 return m_bodyB->GetPosition(); in GetAnchorB()
264 m_bodyB->SetAwake(true); in SetLinearOffset()
279 m_bodyB->SetAwake(true); in SetAngularOffset()
292 int32 indexB = m_bodyB->m_islandIndex; in Dump()
Db2RevoluteJoint.cpp67 m_indexB = m_bodyB->m_islandIndex; in InitVelocityConstraints()
69 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
71 m_invMassB = m_bodyB->m_invMass; in InitVelocityConstraints()
73 m_invIB = m_bodyB->m_invI; in InitVelocityConstraints()
384 return m_bodyB->GetWorldPoint(m_localAnchorB); in GetAnchorB()
401 b2Body* bB = m_bodyB; in GetJointAngle()
408 b2Body* bB = m_bodyB; in GetJointSpeed()
420 m_bodyB->SetAwake(true); in EnableMotor()
432 m_bodyB->SetAwake(true); in SetMotorSpeed()
439 m_bodyB->SetAwake(true); in SetMaxMotorTorque()
[all …]
Db2RopeJoint.cpp49 m_indexB = m_bodyB->m_islandIndex; in InitVelocityConstraints()
51 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
53 m_invMassB = m_bodyB->m_invMass; in InitVelocityConstraints()
55 m_invIB = m_bodyB->m_invI; in InitVelocityConstraints()
203 return m_bodyB->GetWorldPoint(m_localAnchorB); in GetAnchorB()
231 int32 indexB = m_bodyB->m_islandIndex; in Dump()
Db2FrictionJoint.cpp59 m_indexB = m_bodyB->m_islandIndex; in InitVelocityConstraints()
61 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
63 m_invMassB = m_bodyB->m_invMass; in InitVelocityConstraints()
65 m_invIB = m_bodyB->m_invI; in InitVelocityConstraints()
202 return m_bodyB->GetWorldPoint(m_localAnchorB); in GetAnchorB()
240 int32 indexB = m_bodyB->m_islandIndex; in Dump()
Db2PrismaticJoint.cpp129 m_indexB = m_bodyB->m_islandIndex; in InitVelocityConstraints()
131 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
133 m_invMassB = m_bodyB->m_invMass; in InitVelocityConstraints()
135 m_invIB = m_bodyB->m_invI; in InitVelocityConstraints()
494 return m_bodyB->GetWorldPoint(m_localAnchorB); in GetAnchorB()
510 b2Vec2 pB = m_bodyB->GetWorldPoint(m_localAnchorB); in GetJointTranslation()
521 b2Body* bB = m_bodyB; in GetJointSpeed()
549 m_bodyB->SetAwake(true); in EnableLimit()
571 m_bodyB->SetAwake(true); in SetLimits()
586 m_bodyB->SetAwake(true); in EnableMotor()
[all …]
Db2PulleyJoint.cpp76 m_indexB = m_bodyB->m_islandIndex; in InitVelocityConstraints()
78 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
80 m_invMassB = m_bodyB->m_invMass; in InitVelocityConstraints()
82 m_invIB = m_bodyB->m_invI; in InitVelocityConstraints()
269 return m_bodyB->GetWorldPoint(m_localAnchorB); in GetAnchorB()
319 b2Vec2 p = m_bodyB->GetWorldPoint(m_localAnchorB); in GetCurrentLengthB()
328 int32 indexB = m_bodyB->m_islandIndex; in Dump()
Db2DistanceJoint.cpp65 m_indexB = m_bodyB->m_islandIndex; in InitVelocityConstraints()
67 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
69 m_invMassB = m_bodyB->m_invMass; in InitVelocityConstraints()
71 m_invIB = m_bodyB->m_invI; in InitVelocityConstraints()
230 return m_bodyB->GetWorldPoint(m_localAnchorB); in GetAnchorB()
248 int32 indexB = m_bodyB->m_islandIndex; in Dump()
Db2GearJoint.cpp93 m_bodyB = m_joint2->GetBodyB(); in b2GearJoint()
96 b2Transform xfB = m_bodyB->m_xf; in b2GearJoint()
97 float32 aB = m_bodyB->m_sweep.a; in b2GearJoint()
134 m_indexB = m_bodyB->m_islandIndex; in InitVelocityConstraints()
138 m_lcB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
142 m_mB = m_bodyB->m_invMass; in InitVelocityConstraints()
146 m_iB = m_bodyB->m_invI; in InitVelocityConstraints()
377 return m_bodyB->GetWorldPoint(m_localAnchorB); in GetAnchorB()
406 int32 indexB = m_bodyB->m_islandIndex; in Dump()
Db2WeldJoint.cpp61 m_indexB = m_bodyB->m_islandIndex; in InitVelocityConstraints()
63 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
65 m_invMassB = m_bodyB->m_invMass; in InitVelocityConstraints()
67 m_invIB = m_bodyB->m_invI; in InitVelocityConstraints()
315 return m_bodyB->GetWorldPoint(m_localAnchorB); in GetAnchorB()
332 int32 indexB = m_bodyB->m_islandIndex; in Dump()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
DbtMultiBodyPoint2Point.cpp83 if (m_bodyB) in getIslandIdB()
85 btMultiBodyLinkCollider* col = m_bodyB->getBaseCollider(); in getIslandIdB()
89 for (int i=0;i<m_bodyB->getNumLinks();i++) in getIslandIdB()
91 col = m_bodyB->getLink(i).m_collider; in getIslandIdB()
152 if (m_bodyB) in createConstraintRows()
153 pivotBworld = m_bodyB->localPosToWorld(m_linkB, m_pivotInB); in createConstraintRows()
215 if (m_bodyB) in debugDraw()
217 btVector3 pivotBworld = m_bodyB->localPosToWorld(m_linkB, m_pivotInB); in debugDraw()
DbtMultiBodyJointLimitConstraint.cpp74 if(m_bodyB) in getIslandIdB()
76 btMultiBodyLinkCollider* col = m_bodyB->getBaseCollider(); in getIslandIdB()
80 for (int i=0;i<m_bodyB->getNumLinks();i++) in getIslandIdB()
82 col = m_bodyB->getLink(i).m_collider; in getIslandIdB()
121 constraintRow.m_multiBodyB = m_bodyB; in createConstraintRows()
DbtMultiBodyJointMotor.cpp80 btMultiBodyLinkCollider* col = m_bodyB->getBaseCollider(); in getIslandIdB()
84 for (int i=0;i<m_bodyB->getNumLinks();i++) in getIslandIdB()
86 col = m_bodyB->getLink(i).m_collider; in getIslandIdB()
DbtMultiBodyConstraint.cpp9 m_bodyB(bodyB), in btMultiBodyConstraint()
32 if(m_bodyB) in updateJacobianSizes()
34 if(m_bodyB->isMultiDof()) in updateJacobianSizes()
35 m_jacSizeBoth = m_jacSizeA + 6 + m_bodyB->getNumDofs(); in updateJacobianSizes()
37 m_jacSizeBoth = m_jacSizeA + 6 + m_bodyB->getNumLinks(); in updateJacobianSizes()
75 solverConstraint.m_multiBodyB = m_bodyB; in fillMultiBodyConstraint()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/joints/
DMouseJoint.java73 Transform.mulTransToOutUnsafe(m_bodyB.getTransform(), m_targetA, m_localAnchorB); in MouseJoint()
92 m_bodyB.getWorldPointToOut(m_localAnchorB, argOut); in getAnchorB()
107 if (m_bodyB.isAwake() == false) { in setTarget()
108 m_bodyB.setAwake(true); in setTarget()
146 m_indexB = m_bodyB.m_islandIndex; in initVelocityConstraints()
147 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
148 m_invMassB = m_bodyB.m_invMass; in initVelocityConstraints()
149 m_invIB = m_bodyB.m_invI; in initVelocityConstraints()
160 float mass = m_bodyB.getMass(); in initVelocityConstraints()
DJoint.java84 protected Body m_bodyB; field in Joint
106 m_bodyB = def.bodyB; in Joint()
149 return m_bodyB; in getBodyB()
217 return m_bodyA.isActive() && m_bodyB.isActive(); in isActive()
DRevoluteJoint.java111 m_indexB = m_bodyB.m_islandIndex; in initVelocityConstraints()
113 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
115 m_invMassB = m_bodyB.m_invMass; in initVelocityConstraints()
117 m_invIB = m_bodyB.m_invI; in initVelocityConstraints()
464 m_bodyB.getWorldPointToOut(m_localAnchorB, argOut); in getAnchorB()
479 final Body b2 = m_bodyB; in getJointAngle()
485 final Body b2 = m_bodyB; in getJointSpeed()
495 m_bodyB.setAwake(true); in enableMotor()
505 m_bodyB.setAwake(true); in setMotorSpeed()
511 m_bodyB.setAwake(true); in setMaxMotorTorque()
[all …]
DWheelJoint.java133 m_bodyB.getWorldPointToOut(m_localAnchorB, argOut); in getAnchorB()
151 Body b2 = m_bodyB; in getJointTranslation()
172 return m_bodyA.m_angularVelocity - m_bodyB.m_angularVelocity; in getJointSpeed()
181 m_bodyB.setAwake(true); in enableMotor()
187 m_bodyB.setAwake(true); in setMotorSpeed()
201 m_bodyB.setAwake(true); in setMaxMotorTorque()
233 m_indexB = m_bodyB.m_islandIndex; in initVelocityConstraints()
235 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
237 m_invMassB = m_bodyB.m_invMass; in initVelocityConstraints()
239 m_invIB = m_bodyB.m_invI; in initVelocityConstraints()
DMotorJoint.java74 out.set(m_bodyB.getPosition()); in getAnchorB()
99 m_bodyB.setAwake(true); in setLinearOffset()
126 m_bodyB.setAwake(true); in setAngularOffset()
170 m_indexB = m_bodyB.m_islandIndex; in initVelocityConstraints()
172 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
174 m_invMassB = m_bodyB.m_invMass; in initVelocityConstraints()
176 m_invIB = m_bodyB.m_invI; in initVelocityConstraints()
DPulleyJoint.java112 m_bodyB.getWorldPointToOut(m_localAnchorB, p); in getCurrentLengthB()
136 m_bodyB.getWorldPointToOut(m_localAnchorB, argOut); in getAnchorB()
169 m_bodyB.getWorldPointToOut(m_localAnchorB, p); in getLength2()
184 m_indexB = m_bodyB.m_islandIndex; in initVelocityConstraints()
186 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
188 m_invMassB = m_bodyB.m_invMass; in initVelocityConstraints()
190 m_invIB = m_bodyB.m_invI; in initVelocityConstraints()
DFrictionJoint.java91 m_bodyB.getWorldPointToOut(m_localAnchorB, argOut); in getAnchorB()
128 m_indexB = m_bodyB.m_islandIndex; in initVelocityConstraints()
130 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
132 m_invMassB = m_bodyB.m_invMass; in initVelocityConstraints()
134 m_invIB = m_bodyB.m_invI; in initVelocityConstraints()
DPrismaticJoint.java186 m_bodyB.getWorldPointToOut(m_localAnchorB, argOut); in getAnchorB()
207 Body bB = m_bodyB; in getJointSpeed()
252 m_bodyB.getWorldPointToOut(m_localAnchorB, pB); in getJointTranslation()
277 m_bodyB.setAwake(true); in enableLimit()
311 m_bodyB.setAwake(true); in setLimits()
334 m_bodyB.setAwake(true); in enableMotor()
345 m_bodyB.setAwake(true); in setMotorSpeed()
365 m_bodyB.setAwake(true); in setMaxMotorForce()
394 m_indexB = m_bodyB.m_islandIndex; in initVelocityConstraints()
396 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
[all …]
DRopeJoint.java58 m_indexB = m_bodyB.m_islandIndex; in initVelocityConstraints()
60 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
62 m_invMassB = m_bodyB.m_invMass; in initVelocityConstraints()
64 m_invIB = m_bodyB.m_invI; in initVelocityConstraints()
243 m_bodyB.getWorldPointToOut(m_localAnchorB, argOut); in getAnchorB()
DDistanceJoint.java137 m_bodyB.getWorldPointToOut(m_localAnchorB, argOut); in getAnchorB()
170 m_indexB = m_bodyB.m_islandIndex; in initVelocityConstraints()
172 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
174 m_invMassB = m_bodyB.m_invMass; in initVelocityConstraints()
176 m_invIB = m_bodyB.m_invI; in initVelocityConstraints()

12