Matrix4x4.copy()
Copy the values of the matrix given as parameter to this matrix
Parameters
Name | Type | Description | |
---|---|---|---|
1 | matrix4x4 | Matrix4x4 |
Return value
Matrix4x4
the Matrix4x4 with its new values
Usage
import {Matrix4x4} from '@lcluber/type6js';
let matrix1 = new Matrix4x4().identity();
let matrix2 = new Matrix4x4().copy(matrix2);