| 249 | } |
| 250 | |
| 251 | void PhysicsWorld::setJointData(pr::JointID j, Joint* joint) { |
| 252 | if (_jointData.size() < j.get() + 1u) { |
| 253 | _jointData.resize(j.get() + 1u); |
| 254 | } |
| 255 | _jointData[j.get()] = joint; |
| 256 | } |
| 257 | |
| 258 | Joint* PhysicsWorld::getJointData(pr::JointID joint) const { |
| 259 | return _jointData[joint.get()]; |