Right-multiplies the vector v by the matrix m and stores the result in this vector: this = v . m
SIVector3.MulByMatrix3( SIVector3 in_pVector, SIMatrix3 in_pMatrix ); |
SIVector3.MulByMatrix3( v, m ); |
dim v1, v2, m1 ' Create 3D vectors. set v1 = XSIMath.CreateVector3 set v2 = XSIMath.CreateVector3 ' Create 3x3 matrix. set m1 = XSIMath.CreateMatrix3 v1.Set 1.0, 2.0, 3.0 m1.SetIdentity v2.MulByMatrix3 v1, m1 |