Method RotationX
RotationX(Single)
Creates a matrix that rotates around the x-axis.
Declaration
public static Matrix RotationX(float angle)
Parameters
Type | Name | Description |
---|---|---|
System.Single | angle | Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis toward the origin. |
Returns
Type | Description |
---|---|
Matrix | The created rotation matrix. |