Creates a matrix that rotates around an arbitary axis.
'Declaration
Public Shared Function RotationAxis( _
ByVal As Vector3, _
ByVal As System.Single _
) As Matrix4x4
public static Matrix4x4 RotationAxis(
Vector3 ,
System.float
)
Parameters
- axis
- The axis around which to rotate. This parameter is assumed to be normalized.
- radians
- Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.
Return Value
The created rotation matrix.