| 1544 | } |
| 1545 | |
| 1546 | int PhysicsDirect::getNumDofs(int bodyUniqueId) const |
| 1547 | { |
| 1548 | BodyJointInfoCache2** bodyJointsPtr = m_data->m_bodyJointMap[bodyUniqueId]; |
| 1549 | if (bodyJointsPtr && *bodyJointsPtr) |
| 1550 | { |
| 1551 | BodyJointInfoCache2* bodyJoints = *bodyJointsPtr; |
| 1552 | return bodyJoints->m_numDofs; |
| 1553 | } |
| 1554 | btAssert(0); |
| 1555 | return 0; |
| 1556 | } |
| 1557 | |
| 1558 | bool PhysicsDirect::getJointInfo(int bodyIndex, int jointIndex, struct b3JointInfo& info) const |
| 1559 | { |
no outgoing calls