Allolib
1.0
C++ Components For Interactive Multimedia
|
Public Member Functions | |
BoundingBox (const Vec3f &min_, const Vec3f &max_) | |
void | set (const Mesh &mesh) |
void | set (const Vec3f &min_, const Vec3f &max_) |
void | setCenterDim (const Vec3f &cen_, const Vec3f &dim_) |
Mesh & | getMesh () |
void | draw (Graphics &g, bool drawTics=false) |
Mesh & | getTics () |
bool | contains (const Vec3d &p) |
void | reset () |
void | resetInv () |
reset box to float value inverse extremes More... | |
void | includePoint (al::Vec3f &pos) |
Public Attributes | |
Mesh | mesh |
Mesh | tics |
Mesh | gridMesh [2] |
float | glUnitLength |
float | ticsPerUnit |
Vec3f | min |
Vec3f | max |
Vec3f | cen |
Vec3f | dim |
Definition at line 65 of file al_BoundingBox.hpp.
|
inlineinherited |
reset box to float value inverse extremes
This allows building the bounding box incremementally using includePoint()
Definition at line 36 of file al_BoundingBox.hpp.