Luna::Box
Used to specify a 3D box region using position and size.
template <typename _Ty>
struct Luna::Box
Parameters
-
_Ty
The type that represents values of the box.
Member objects
-
The X position of the box.
-
The Y position of the box.
-
The Z position of the box.
-
The height of the box.
-
The depth of the box.
Member functions
-
Constructs one box. Values of the box is uninitialized.
-
Box(_Ty offset_x, _Ty offset_y, _Ty offset_z, _Ty width, _Ty height, _Ty depth)
Constructs one box.
-
bool operator==(const Box &rhs) const
Compares two boxes for equality.
-
bool operator!=(const Box &rhs) const
Compares two boxes for non-equality.