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

Method get_size

ogsr_engine/xrGame/Geometry.cpp:534–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534void CBoxGeom::get_size(Fvector& half_size)
535{
536 VERIFY(geom());
537 dGeomBoxGetLengths(geom(), cast_fp(half_size));
538 half_size.mul(0.5f);
539}
540
541void CBoxGeom::set_position(const Fvector& ref_point)
542{

Callers 1

get_old_camera_boxFunction · 0.80

Calls 3

dGeomBoxGetLengthsFunction · 0.85
cast_fpFunction · 0.85
mulMethod · 0.45

Tested by

no test coverage detected