| Matrix33FCreateRotation Method (Vector3F, Single) |
Creates a rotation matrix from axis and angle.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Matrix33F CreateRotation(
Vector3F axis,
float angle
)
Public Shared Function CreateRotation (
axis As Vector3F,
angle As Single
) As Matrix33F
public:
static Matrix33F CreateRotation(
Vector3F axis,
float angle
)
static member CreateRotation :
axis : Vector3F *
angle : float32 -> Matrix33F
Parameters
- axis
- Type: DigitalRune.Mathematics.AlgebraVector3F
The rotation axis. (Does not need to be normalized.) - angle
- Type: SystemSingle
The rotation angle in radians.
Return Value
Type:
Matrix33FThe created rotation matrix.
Exceptions See Also