Helper class to tesselate a box with 6 faces
Generate the box
Get the indices of triangles needed to render the box
Get the vertices of the box as Vec3
Get the vertices of the box as a number array with <x,y,z,x,y,z,...>
Specify the box by providing the center of the box and the extent in x,y, and z direction.
Set the orientation of the box by giing the right direction (local x axis) and the up direction
(local z axis).
Specify the box by providing an origin (min x,y,z of the box) and the extent in x,y and z direction.
Generated using TypeDoc