mat4:rotate

Rotates the matrix using a quaternion or an angle/axis rotation.

m = mat4:rotate(rotation)

Arguments

NameTypeDescription
rotationquatThe rotation to apply to the matrix.

Returns

NameTypeDescription
mmat4The original matrix.

See also