 | QuaternionDCreateRotationZ Method |
Creates a unit quaternion that specifies a rotation by a given angle around the z-axis.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntaxpublic static QuaternionD CreateRotationZ(
double angle
)
Public Shared Function CreateRotationZ (
angle As Double
) As QuaternionD
public:
static QuaternionD CreateRotationZ(
double angle
)
static member CreateRotationZ :
angle : float -> QuaternionD
Parameters
- angle
- Type: SystemDouble
The rotation angle in radians.
Return Value
Type:
QuaternionD
The created unit quaternion that describes a rotation by the
angle
radians around the z-axis.
See Also