MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / setJointData

Method setJointData

Source/Physics/PhysicsWorld.cpp:251–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251void 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
258Joint* PhysicsWorld::getJointData(pr::JointID joint) const {
259 return _jointData[joint.get()];

Callers 12

destroyMethod · 0.80
distanceMethod · 0.80
frictionMethod · 0.80
gearMethod · 0.80
springMethod · 0.80
moveMethod · 0.80
prismaticMethod · 0.80
pulleyMethod · 0.80
revoluteMethod · 0.80
ropeMethod · 0.80
weldMethod · 0.80
wheelMethod · 0.80

Calls 3

getMethod · 0.65
sizeMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected