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

Function dJointGetHinge2Axis2

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

Source from the content-addressed store, hash-verified

1742
1743
1744extern "C" void dJointGetHinge2Axis2 (dxJointHinge2 *joint, dVector3 result)
1745{
1746 dUASSERT(joint,"bad joint argument");
1747 dUASSERT(result,"bad result argument");
1748 dUASSERT(joint->vtable == &__dhinge2_vtable,"joint is not a hinge2");
1749 if (joint->node[1].body) {
1750 dMULTIPLY0_331 (result,joint->node[1].body->R,joint->axis2);
1751 }
1752}
1753
1754
1755extern "C" dReal dJointGetHinge2Param (dxJointHinge2 *joint, int parameter)

Callers 3

getAxis2Method · 0.85
GetAxisDirDynamicMethod · 0.85
ApplyDamageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected