| QuaternionFAdd 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 QuaternionF Add(
QuaternionF quaternion1,
QuaternionF quaternion2
)
Public Shared Function Add (
quaternion1 As QuaternionF,
quaternion2 As QuaternionF
) As QuaternionF
public:
static QuaternionF Add(
QuaternionF quaternion1,
QuaternionF quaternion2
)
static member Add :
quaternion1 : QuaternionF *
quaternion2 : QuaternionF -> QuaternionF
Parameters
- quaternion1
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
The first quaternion. - quaternion2
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
The second quaternion.
Return Value
Type:
QuaternionFThe sum of the two quaternions.
See Also