SIQuaternion.Invert
 
 
 

SIQuaternion.Invert

Description

Inverts the quaternion q and stores the result in this quaternion.

C# Syntax

SIQuaternion.Invert( SIQuaternion in_pQuat );

Scripting Syntax

SIQuaternion.Invert( q );

Parameters

Parameter Type Description
q SIQuaternion quaternion to invert

Examples

VBScript Example

dim q1, q2
' Create Quaternions.
set q1 = XSIMath.CreateQuaternion(1.0, 1.0, 2.0, 3.0)
set q2 = XSIMath.CreateQuaternion
q2.Invert q1

See Also

SIQuaternion.InvertInPlace SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion