SIRotation.Invert
 
 
 

SIRotation.Invert

Description

Inverts the rotation r and stores the result in this rotation.

C# Syntax

SIRotation.Invert( SIRotation in_pRot );

Scripting Syntax

SIRotation.Invert( r );

Parameters

Parameter Type Description
r SIRotation Rotation operand

Examples

VBScript Example

dim r1, r2, rotAngles
' Create rotations.
set r1 = XSIMath.CreateRotation
set r2= XSIMath.CreateRotation
' Create 3D vector.
set rotAngles = XSIMath.CreateVector3(0.0, 1.5, 0.0)
r1.SetFromXYZAngles rotAngles
r2.Invert r1

See Also

SIRotation.InvertInPlace SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion