Skip to content

Documentation / @ripl/3d / mat4RotateX

Function: mat4RotateX() ​

mat4RotateX(m, angle): Matrix4

Defined in: 3d/src/math/matrix.ts:75

Applies a rotation around the X axis to a matrix.

Parameters ​

ParameterType
mMatrix4
anglenumber

Returns ​

Matrix4