DirectZ
|
Axis-Aligned Bounding Box (AABB) template structure. More...
#include <math.hpp>
Public Member Functions | |
AABB ()=default | |
Default constructor. | |
AABB (vec< T, N > min, vec< T, N > max) | |
Construct an AABB with specified minimum and maximum corners. |
Public Attributes | |
vec< T, N > | min |
vec< T, N > | max |
Axis-Aligned Bounding Box (AABB) template structure.
Represents an N-dimensional bounding box defined by minimum and maximum corner points.
T | The numeric type of the bounding box coordinates (e.g., float, double). |
N | The dimension of the bounding box (e.g., 2 for 2D, 3 for 3D). |
Default constructor.
Leaves min and max uninitialized.
Construct an AABB with specified minimum and maximum corners.
min | The minimum corner vector of the bounding box. |
max | The maximum corner vector of the bounding box. |
Maximum corner point of the bounding box.
Minimum corner point of the bounding box.