General purpose axis-aligned bounding box class for enclosing objects/vertices.
General purpose axis-aligned bounding box class for enclosing objects/vertices. Used to bounding the leaf objects in the scene, i.e. osg::GeoSet's to assist in view frustum culling etc.
Vec3 _max
BoundingBox()
void init()
bool isValid() const
float& xMin()
float xMin() const
float& yMin()
float yMin() const
float& zMin()
float zMin() const
float& xMax()
float xMax() const
float& yMax()
float yMax() const
float& zMax()
float zMax() const
Vec3 center() const
float radius() const
float radius2() const
Vec3 corner(unsigned int pos) const
void expandBy(const Vec3& v)
void expandBy(const BoundingBox& bb)
void expandBy(const BoundingSphere& sh)
bool contains(const Vec3& v)
Alphabetic index HTML hierarchy of classes or Java