Right-multiplies this vector by the rotation r in place: this = this . r
SIVector3.MulByRotationInPlace( SIRotation in_pRotation ); |
SIVector3.MulByRotationInPlace( r ); |
Parameter | Type | Description |
---|---|---|
r | SIRotation | Operand rotation |
dim v1, rotAngles, r1 ' Create 3D vectors. set v1 = XSIMath.CreateVector3 set rotAngles = XSIMath.CreateVector3 ' Create Rotation. set r1 = XSIMath.CreateRotation v1.Set 1.0, 0.0, 0.0 rotAngles.Set 0.0, 0.0, 0.7853981633974483 r1.SetFromXYZAngles rotAngles v1.MulByRotationInPlace r1 |