![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cSpatialObject.h>
Public Member Functions | |
cSpatialObject () noexcept | |
virtual | ~cSpatialObject () |
const cSpheref & | get_BoundSphere () const noexcept |
const cVector3f & | get_CenterPos () const noexcept |
float | get_Radius () const noexcept |
virtual void | TestTree (const ISpatialTest *pTree) const |
Public Attributes | |
cSpheref | m_s |
set coords from AddToOctree More... | |
base class for any object in 3d space. any object is enclosed by a sphere. This likely represents a complex object with more precise internal geometry. e.g. The sphere MUST encompass all points in the object. a sphere surrounding a cube.
|
inlinenoexcept |
|
inlinevirtual |
ASSERT already removed from tree/node.
|
inlinenoexcept |
The sphere that bounds the object of interest. In map world space.
|
inlinenoexcept |
NOTE: Center position of the model will certainly not be the root position (feet) (or placement) of the model.
|
inlinenoexcept |
|
virtual |
Reimplemented in Gray3D::cOctreeObject.
cSpheref Gray3D::cSpatialObject::m_s |
set coords from AddToOctree