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

Function dJointInit

3rd_party/Src/ode/ode/src/ode.cpp:916–930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

914}
915
916static void dJointInit (dxWorld *w, dxJoint *j)
917{
918 dIASSERT (j);
919 initObject (j,w);
920 j->vtable = 0;
921 j->flags = 0;
922 j->node[0].joint = j;
923 j->node[0].body = 0;
924 j->node[0].next = 0;
925 j->node[1].joint = j;
926 j->node[1].body = 0;
927 j->node[1].next = 0;
928 dSetZero (j->lambda,6);
929 if (w) dWorldAddJoint(w,j);
930}
931
932
933static dxJoint *createJoint (dWorldID w, dJointGroupID group,

Callers 1

createJointFunction · 0.85

Calls 3

initObjectFunction · 0.85
dSetZeroFunction · 0.85
dWorldAddJointFunction · 0.85

Tested by

no test coverage detected