rotateMat3x3

fun rotateMat3x3(deg: Float, x: Float, y: Float, res: FloatArray)

Creates a rotate 3x3 matrix.

Parameters

deg

The rotation angle in degrees

x

The x-coordinate of the rotation axis

y

The y-coordinate of the rotation axis

res

The resulting rotation 3x3 matrix