Skip to content

rotateY4

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

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

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

The matrix to be modified.

The angle by which to rotate (in radians).

The rotated matrix.