Mat4:getOrientation
EditReturns the angle/axis rotation of the matrix.
angle, ax, ay, az = Mat4:getOrientation()
Arguments
None
Returns
Name | Type | Description |
angle | number | The number of radians the matrix rotates around its rotation axis. |
ax | number | The x component of the axis of rotation. |
ay | number | The y component of the axis of rotation. |
az | number | The z component of the axis of rotation. |