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

Function universalInit

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

Source from the content-addressed store, hash-verified

1844// implementation (or, less likely, the hinge2 implementation).
1845
1846static void universalInit (dxJointUniversal *j)
1847{
1848 dSetZero (j->anchor1,4);
1849 dSetZero (j->anchor2,4);
1850 dSetZero (j->axis1,4);
1851 j->axis1[0] = 1;
1852 dSetZero (j->axis2,4);
1853 j->axis2[1] = 1;
1854 dSetZero(j->qrel1,4);
1855 dSetZero(j->qrel2,4);
1856 j->limot1.init (j->world);
1857 j->limot2.init (j->world);
1858}
1859
1860
1861static void getUniversalAxes(dxJointUniversal *joint, dVector3 ax1, dVector3 ax2)

Callers

nothing calls this directly

Calls 2

dSetZeroFunction · 0.85
initMethod · 0.45

Tested by

no test coverage detected