| QuaternionDAdd Method |
Adds two quaternions.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static QuaternionD Add(
QuaternionD quaternion1,
QuaternionD quaternion2
)
Public Shared Function Add (
quaternion1 As QuaternionD,
quaternion2 As QuaternionD
) As QuaternionD
public:
static QuaternionD Add(
QuaternionD quaternion1,
QuaternionD quaternion2
)
static member Add :
quaternion1 : QuaternionD *
quaternion2 : QuaternionD -> QuaternionD
Parameters
- quaternion1
- Type: DigitalRune.Mathematics.AlgebraQuaternionD
The first quaternion. - quaternion2
- Type: DigitalRune.Mathematics.AlgebraQuaternionD
The second quaternion.
Return Value
Type:
QuaternionDThe sum of the two quaternions.
See Also