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

Method get_extensions_bt

ogsr_engine/xrGame/Geometry.cpp:441–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441void CBoxGeom::get_extensions_bt(const Fvector& axis, float center_prg, float& lo_ext, float& hi_ext)
442{
443 VERIFY(m_geom_transform);
444 const dReal* rot = NULL;
445 const dReal* pos = NULL;
446 dVector3 p;
447 dMatrix3 r;
448 dGeomID g = geometry_bt();
449 get_final_tx_bt(pos, rot, p, r);
450 GetBoxExtensions(g, cast_fp(axis), pos, rot, center_prg, &lo_ext, &hi_ext);
451}
452
453void CBoxGeom::get_max_area_dir_bt(Fvector& dir)
454{

Callers 2

t_get_boxFunction · 0.80
get_ExtensionsMethod · 0.80

Calls 4

GetBoxExtensionsFunction · 0.85
cast_fpFunction · 0.85
GetSphereExtensionsFunction · 0.85
GetCylinderExtensionsFunction · 0.85

Tested by

no test coverage detected