OBB

Oriented bounding box

Members

Functions

asMatrix
mat3 asMatrix()

Gets this OBB as a matrix

max
vec3 max()

Maximum extent of the OBB

min
vec3 min()

Minimum extent of the OBB

Variables

position
vec3 position;

Position of the OBB

rotation
quat rotation;

Rotation of the OBB

size
vec3 size;

Extents of the OBB

Meta