rotation( x, y, z )

static function

Create a Matrix to rotate around the X, Y and Z axes.

Arguments

Name Type Description
x Number Angle in radians to rotate around the X axis.
y Number Angle in radians to rotate around the Y axis.
z Number Angle in radians to rotate around the Z axis.

Returns

Type Description
Matrix Newly created Matrix