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

Method getBoundingSphere

Engine/source/math/mBox.cpp:262–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260//-----------------------------------------------------------------------------
261
262SphereF Box3F::getBoundingSphere() const
263{
264 return SphereF( getCenter(), getGreatestDiagonalLength() / 2.f );
265}

Callers 4

renderObjectMethod · 0.45
updateWorldSphereMethod · 0.45
worldEditor.cppFile · 0.45

Calls 1

SphereFClass · 0.70

Tested by

no test coverage detected