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

Method get_final_tx

ogsr_engine/xrGame/Geometry.cpp:418–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416 get_final_tx(m_geom_transform, p, R, bufV, bufM);
417}
418void CODEGeom::get_final_tx(dGeomID g, const dReal*& p, const dReal*& R, dReal* bufV, dReal* bufM)
419{
420 if (is_transform(g))
421 {
422 computeFinalTx(g, bufV, bufM);
423 R = bufM;
424 p = bufV;
425 }
426 else
427 {
428 R = dGeomGetRotation(g);
429 p = dGeomGetPosition(g);
430 }
431}
432
433void CODEGeom::set_local_form_bt(const Fmatrix& xform)
434{

Callers

nothing calls this directly

Calls 3

computeFinalTxFunction · 0.85
dGeomGetRotationFunction · 0.85
dGeomGetPositionFunction · 0.85

Tested by

no test coverage detected