![]() |
NiTE 2.0
|
#include <NiTE.h>
Public Member Functions | |
BoundingBox () | |
BoundingBox (const Point3f &min, const Point3f &max) |
Represents a box in three dimensional space. The box is represented as two points, containing respectively its minimum and maximum x, y and z coordinate values.
nite::BoundingBox::BoundingBox | ( | ) | [inline] |
Default constructor. Does nothing.
nite::BoundingBox::BoundingBox | ( | const Point3f & | min, |
const Point3f & | max | ||
) | [inline] |
Constructor. Creates a bounding box from two points in space, which represent that minimum and maximum value of all of its coordinates.
[in] | min | A point containing the minimum x, y and z values of the bounding box. |
[in] | max | A point containing the maximum x, y and z values of the bounding box. |