MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / hingeInit

Function hingeInit

3rd_party/Src/ode/ode/src/joint.cpp:740–750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738// hinge
739
740static void hingeInit (dxJointHinge *j)
741{
742 dSetZero (j->anchor1,4);
743 dSetZero (j->anchor2,4);
744 dSetZero (j->axis1,4);
745 j->axis1[0] = 1;
746 dSetZero (j->axis2,4);
747 j->axis2[0] = 1;
748 dSetZero (j->qrel,4);
749 j->limot.init (j->world);
750}
751
752
753static void hingeGetInfo1 (dxJointHinge *j, dxJoint::Info1 *info)

Callers

nothing calls this directly

Calls 2

dSetZeroFunction · 0.85
initMethod · 0.45

Tested by

no test coverage detected