Skip to content

rotateZ4

rotateZ4(matrix, angle): m4x4f

Defined in: packages/typegpu/src/std/matrix.ts:103

Rotates the given 4-by-4 matrix around the z-axis by the given angle.

m4x4f

The matrix to be modified.

number

The angle by which to rotate (in radians).

m4x4f

The rotated matrix.