Properties | |
DzBox3 | localBox |
DzMatrix3 | transform |
Constructors | |
DzOrientedBox3 (DzOrientedBox3 box) | |
DzOrientedBox3 (DzBox3 box, DzVec3 translation, DzQuat rotation, DzVec3 scale) | |
DzOrientedBox3 (DzVec3 translation, DzQuat rotation, DzVec3 scale) | |
DzOrientedBox3 () |
Represents a 3D box by storing two 3D vectors - an upper and lower corner for the box, and a transformation for its orientation.
DzOrientedBox3::DzOrientedBox3 | ( | ) |
Constructor. Creates an uninitialized box with an identity transform - the first point included in an uninitialized box will become the min and max for the box.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Creates an uninitialized box with the given transform - the first point included in an uninitialized box will become the min and max for the box.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Creates an oriented box that is the given box with the given transform.
DzOrientedBox3::DzOrientedBox3 | ( | DzOrientedBox3 | box | ) |
Copy constructor.
The box in 'local space' (without transforms applied)
The transform matrix of the box in 3D space