## SIRotation.Mul

### Description

Right-multiplies the rotation r1 by rotation r2 and stores the result in this rotation: this = r1 . r2

### C# Syntax

    SIRotation.Mul( SIRotation in_pRot1, SIRotation in_pRot2 );

### Scripting Syntax

    SIRotation.Mul( r1, r2 );

### Parameters

Parameter | Type | Description
--- | --- | ---
r1 | SIRotation | rotation operand
r2 | SIRotation | rotation operand

### Examples

#### VBScript Example

    dim r1, r2, r3
    ' Create rotations.
    set r1 = XSIMath.CreateRotation
    set r2 = XSIMath.CreateRotation
    set r3 = XSIMath.CreateRotation
    'Do something with rotations r1 and r2
    r3.Mul r1, r2

### See Also

SIRotation.MulInPlace SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion