Share via


Quaternion.Conjugate(Quaternion) Method (Microsoft.DirectX)

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