MulInPlace (SIMatrix4)
Description
Right-multiplies this matrix by the matrix m and stores the result into this matrix: this = this . m
C# Syntax
SIMatrix4.MulInPlace( SIMatrix4 in_pMatrix );Examples
VBScript Example
/*
This example demonstrates how to multiply one
4x4 matrix by another and saving the product
in the first matrix.
*/
var m1 = XSIMath.CreateMatrix4(
1.0, 0.0, 0.0, 0.0,
0.0, 2.0, 0.0, 0.0,
0.0, 0.0, 3.0, 0.0,
0.0, 0.0, 0.0, 1.0
);
var m2 = XSIMath.CreateMatrix4(
4.0, 0.0, 0.0, 0.0,
0.0, 3.0, 0.0, 0.0,
0.0, 0.0, 2.0, 0.0,
0.0, 0.0, 0.0, 1.0
);
m1.MulInPlace(m2);See Also
|
|
Autodesk Softimage v7.5