| QuaternionFDivide Method (QuaternionF, QuaternionF) |
Divides a quaternions by another quaternion.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static QuaternionF Divide(
QuaternionF dividend,
QuaternionF divisor
)
Public Shared Function Divide (
dividend As QuaternionF,
divisor As QuaternionF
) As QuaternionF
public:
static QuaternionF Divide(
QuaternionF dividend,
QuaternionF divisor
)
static member Divide :
dividend : QuaternionF *
divisor : QuaternionF -> QuaternionF
Parameters
- dividend
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
The first quaternion (dividend). - divisor
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
The second quaternion (divisor).
Return Value
Type:
QuaternionFThe result of the division.
Exceptions Remarks
A quaternion is divided by another quaternion by multiplying it with the inverse. For
example, two quaternions q1 and q2:
q1 / q2 = q1q2-1
See Also