rotateX4
rotateX4(
matrix
,angle
):m4x4f
Defined in: packages/typegpu/src/std/matrix.ts:59
Rotates the given 4-by-4 matrix around the x-axis by the given angle.
Parameters
Section titled “Parameters”matrix
Section titled “matrix”The matrix to be modified.
number
The angle by which to rotate (in radians).
Returns
Section titled “Returns”The rotated matrix.