Mat4:getOrientation

Edit

Returns the angle/axis rotation of the matrix.

angle, ax, ay, az = Mat4:getOrientation()

Arguments

None

Returns

NameTypeDescription
anglenumber The number of radians the matrix rotates around its rotation axis.
axnumber The x component of the axis of rotation.
aynumber The y component of the axis of rotation.
aznumber The z component of the axis of rotation.

See also