Skip to content

rotateZ4

const rotateZ4: DualFn<(matrix, angle) => m4x4f>

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

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

The matrix to be modified.

The angle by which to rotate (in radians).

The rotated matrix.