Negate (SIQuaternion)
Description
Negates the quaternion q and stores the result in this quaternion.
Scripting Syntax
SIQuaternion.Negate( q )
C# Syntax
SIQuaternion.Negate( SIQuaternion in_pQuat );Parameters
|
Parameter |
Type |
Description |
|
q |
quaternion to negate |
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 = -q1 q2.Negate q1
See Also
|
|
Autodesk Softimage v7.5