| QuaternionDCreateRotationY Method |
Creates a unit quaternion that specifies a rotation by a given angle around the y-axis.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static QuaternionD CreateRotationY(
double angle
)
Public Shared Function CreateRotationY (
angle As Double
) As QuaternionD
public:
static QuaternionD CreateRotationY(
double angle
)
static member CreateRotationY :
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 y-axis.
See Also