MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getCenter

Method getCenter

Engine/source/math/mBox.h:358–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356}
357
358inline void Box3F::getCenter(Point3F* center) const
359{
360 center->x = (minExtents.x + maxExtents.x) * 0.5f;
361 center->y = (minExtents.y + maxExtents.y) * 0.5f;
362 center->z = (minExtents.z + maxExtents.z) * 0.5f;
363}
364
365inline Point3F Box3F::getCenter() const
366{

Callers 15

renderSceneMethod · 0.45
resetWorldBoxMethod · 0.45
resetObjectBoxMethod · 0.45
resetRenderWorldBoxMethod · 0.45
sceneObject.cppFile · 0.45
_renderSceneMethod · 0.45
setOrbitModeMethod · 0.45
processTickMethod · 0.45
interpolateTickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected