Skip to content

rotationX4

const rotationX4: DualFn<(a) => m4x4f>

Defined in: packages/typegpu/src/data/matrix.ts:621

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

The angle by which to rotate (in radians).

The rotation matrix.