Matrix3x3.copy()

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

Parameters

NameTypeDescription
1matrix3x3Matrix3x3

Return value

Matrix3x3

the Matrix3x3 with its new values

Usage

import {Matrix3x3} from '@lcluber/type6js';

let matrix1 = new Matrix3x3().identity();
let matrix2 = new Matrix3x3().copy(matrix2);