| Matrix33DCreateRotation Method (Vector3D, Double) |
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 Matrix33D CreateRotation(
Vector3D axis,
double angle
)
Public Shared Function CreateRotation (
axis As Vector3D,
angle As Double
) As Matrix33D
public:
static Matrix33D CreateRotation(
Vector3D axis,
double angle
)
static member CreateRotation :
axis : Vector3D *
angle : float -> Matrix33D
Parameters
- axis
- Type: DigitalRune.Mathematics.AlgebraVector3D
The rotation axis. (Does not need to be normalized.) - angle
- Type: SystemDouble
The rotation angle in radians.
Return Value
Type:
Matrix33DThe created rotation matrix.
Exceptions See Also