Skip to content

rotateY4

rotateY4(matrix, angle): m4x4f

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

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

m4x4f

The matrix to be modified.

number

The angle by which to rotate (in radians).

m4x4f

The rotated matrix.