Create a transformation matrix that represents a rotation by the given angle around the given axis. This is equivalent to (but faster than) rotate(identity(out), radians, axis, out).
rotate(identity(out), radians, axis, out)
The angle in radians.
The axis to rotate around.
The matrix to store the result in.
The transformation matrix.
Rotation matrix
Create a transformation matrix that represents a rotation by the given angle around the given axis. This is equivalent to (but faster than)
rotate(identity(out), radians, axis, out).