Definition: BoundingBoxAligned.h:34
Definition: BoundingBoxOriented.h:31
CBoundingBoxOriented(const CVector3D ¢er, const CVector3D &u, const CVector3D &v, const CVector3D &w, const CVector3D &halfSizes)
Constructs a new oriented box centered at center and with normalized side vectors u,...
Definition: BoundingBoxOriented.h:43
CVector3D m_HalfSizes
Half the sizes of the box in each dimension (u,v,w).
Definition: BoundingBoxOriented.h:103
void SetEmpty()
Definition: BoundingBoxOriented.h:81
CVector3D m_Center
Centroid location of the box.
Definition: BoundingBoxOriented.h:102
bool IsEmpty() const
Definition: BoundingBoxOriented.h:91
bool RayIntersect(const CVector3D &origin, const CVector3D &dir, float &tMin, float &tMax) const
Check if a given ray intersects this box.
Definition: BoundingBoxOriented.cpp:47
void GetCorner(int u, int v, int w, CVector3D &out) const
Returns the corner at coordinate (u, v, w).
Definition: BoundingBoxOriented.h:76
static const CBoundingBoxOriented EMPTY
Definition: BoundingBoxOriented.h:108
CVector3D m_Basis[3]
Basis vectors (u,v,w) of the sides.
Definition: BoundingBoxOriented.h:106
CBoundingBoxOriented()
Empty constructor; creates an empty box.
Definition: BoundingBoxOriented.h:35
Definition: Vector3D.h:31
static void out(const wchar_t *fmt,...)
Definition: wdbg_sym.cpp:407