MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / ToLocalBoundingSphere

Method ToLocalBoundingSphere

TombEngine/Math/Objects/GameBoundingBox.cpp:135–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 }
134
135 BoundingSphere GameBoundingBox::ToLocalBoundingSphere() const
136 {
137 return BoundingSphere(GetCenter(), GetExtents().Length());
138 }
139
140 BoundingBox GameBoundingBox::ToConservativeBoundingBox(const Pose& pose) const
141 {

Callers 2

CollectStaticsMethod · 0.80

Calls 1

LengthMethod · 0.45

Tested by

no test coverage detected