Sets this rotation according the quaternion q.
SIRotation.SetFromQuaternion( SIQuaternion in_pQuat ); |
SIRotation.SetFromQuaternion( q ); |
Parameter | Type | Description |
---|---|---|
q | SIQuaternion | Quaternion operand |
dim r1, q1 ' Create rotation. set r1 = XSIMath.CreateRotation ' Create Quaternion. set q1 = XSIMath.CreateQuaternion 'Do something on the quaternion r1.SetFromQuaternion q1 |