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

Method get_global_form_bt

ogsr_engine/xrGame/Geometry.cpp:133–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 center.z += add[2];
132}
133void CODEGeom::get_global_form_bt(Fmatrix& form)
134{
135 dMULTIPLY0_331((dReal*)(&form.c), dGeomGetRotation(m_geom_transform), dGeomGetPosition(geom()));
136 form.c.add(*((const Fvector*)dGeomGetPosition(m_geom_transform)));
137 dMULTIPLY3_333((dReal*)(&form), dGeomGetRotation(m_geom_transform), dGeomGetRotation(geom()));
138 // PHDynamicData::DMXtoFMX((dReal*)(&form),form);
139}
140
141void CODEGeom::get_xform(Fmatrix& form)
142{

Callers

nothing calls this directly

Calls 3

dGeomGetRotationFunction · 0.85
dGeomGetPositionFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected