rotMat44

fun rotMat44(deg: Float, x: Float, y: Float, z: Float, res: FloatArray)

Creates a rotation 4x4 matrix.

Parameters

deg

The rotation angle in degrees

x

The x-coordinate of the rotation axis

y

The y-coordinate of the rotation axis

z

The z-coordinate of the rotation axis

res

The resulting rotation 4x4 matrix