rotx(angle) ⇒ object

Returns a Homogeneous transformation matrix that represents the rotation around an angle in the ‘x’ axis.

Kind: global function
Returns: object - 4x4 math.js matrix.

Param Type Description
angle number The angle of rotation, in radians.