Matrix4x3.multiply()
Multiply this matrix by the matrix given as parameter
Parameters
Name | Type | Description | |
---|---|---|---|
1 | matrix4x3 | Matrix4x3 |
Return value
Matrix4x3
the Matrix4x3 with its new values
Usage
import {Matrix4x3, Vector3} from '@lcluber/type6js';
let vector1 = new Vector3(2,2,2);
let vector2 = new Vector3(3,3,4);
let matrix1 = new Matrix4x3().identity().scale(vector1);
let matrix2 = new Matrix4x3().identity().scale(vector2);
matrix1.multiply(matrix2);