SIMatrix3.Mul
 
 
 

SIMatrix3.Mul

Description

Right-multiplies the matrix m1 by the matrix m2 and stores the result into this matrix: this = m1 . m2

C# Syntax

SIMatrix3.Mul( SIMatrix3 in_pMatrix1, SIMatrix3 in_pMatrix2 );

Scripting Syntax

SIMatrix3.Mul( m1, m2 );

Parameters

Parameter Type Description
m1 SIMatrix3 Matrix operand
m2 SIMatrix3 Matrix operand

Examples

VBScript Example

dim m1, m2, m3
' Create 3x3 matrices.
set m1 = XSIMath.CreateMatrix3(1.0, 0.0, 0.0, 0.0, 2.0, 0.0, 0.0, 0.0, 3.0)
set m2 = XSIMath.CreateMatrix3(4.0, 0.0, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0, 2.0)
set m3 = XSIMath.CreateMatrix3
m3.Mul m1, m2

See Also

SIMatrix3.MulInPlace SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion