Quaternion.Conjugate Method

Language:

Returns the conjugate of a quaternion.

Definition

Visual Basic Public Shared Function Conjugate( _
    ByVal q As Quaternion _
) As Quaternion
C# public static Quaternion Conjugate(
    Quaternion q
);
C++ public:
static Quaternion Conjugate(
    Quaternion q
);
JScript public static function Conjugate(
    q : Quaternion
) : Quaternion;

Parameters

q Microsoft.DirectX.Quaternion
Source Quaternion.

Return Value

Microsoft.DirectX.Quaternion
A Quaternion structure that is the conjugate of the q parameter.

Remarks

Given a quaternion (x, y, z, w), the Conjugate method returns the quaternion (-x, -y, -z, w).

See Also


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center