Skip to content

rotationX4

rotationX4(a): m4x4f

Creates a 4-by-4 matrix which rotates around the x-axis by the given angle.

number

m4x4f

The rotation matrix.

packages/typegpu/src/data/matrix.ts:646