Matrix4x4.copy()

Copy the values of the matrix given as parameter to this matrix

Parameters

NameTypeDescription
1matrix4x4Matrix4x4

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);