Skip to content

Sign up to be notified when the ShaderHunt platform is available, along with interactive examples teaching TypeGPU from the ground up.

rotationX4

rotationX4(a): m4x4f

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

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

number

m4x4f

The rotation matrix.