Share via


Quaternion.Invert() Method (Microsoft.DirectX)

Conjugates and re-normalizes a quaternion.

Definition

Visual Basic Public Sub Invert()
C# public void Invert();
C++ public:
void Invert();
JScript public function Invert();

Remarks

A unit quaternion is defined by the following equation.

q == (cos(theta), sin(theta) * v) where |v| = 1
The natural logarithm of q is ln(q) = (0, theta * v)

See Also