/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/ |
D | b2MouseJoint.cpp | 40 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()
|
D | b2WheelJoint.cpp | 80 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 …]
|
D | b2MotorJoint.cpp | 64 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()
|
D | b2RevoluteJoint.cpp | 67 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 …]
|
D | b2RopeJoint.cpp | 49 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()
|
D | b2FrictionJoint.cpp | 59 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()
|
D | b2PrismaticJoint.cpp | 129 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 …]
|
D | b2PulleyJoint.cpp | 76 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()
|
D | b2DistanceJoint.cpp | 65 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()
|
D | b2GearJoint.cpp | 93 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()
|
D | b2WeldJoint.cpp | 61 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/ |
D | btMultiBodyPoint2Point.cpp | 83 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()
|
D | btMultiBodyJointLimitConstraint.cpp | 74 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()
|
D | btMultiBodyJointMotor.cpp | 80 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()
|
D | btMultiBodyConstraint.cpp | 9 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/ |
D | MouseJoint.java | 73 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()
|
D | Joint.java | 84 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()
|
D | RevoluteJoint.java | 111 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 …]
|
D | WheelJoint.java | 133 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()
|
D | MotorJoint.java | 74 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()
|
D | PulleyJoint.java | 112 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()
|
D | FrictionJoint.java | 91 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()
|
D | PrismaticJoint.java | 186 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 …]
|
D | RopeJoint.java | 58 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()
|
D | DistanceJoint.java | 137 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()
|