new Matrix4x4()
A 4x4 3D transformation matrix.
Methods
-
static Matrix4X4#getElement(row, col) → {number}
-
Get an element from the matrix.
Parameters:
Name Type Description row number The row (0 - 3). col number The column (0 - 3). Returns:
number The number at the specified (row, col). -
static Matrix4X4#getTranslation() → {Vector3D}
-
Get the translation vector from the matrix.
Returns:
Vector3D The translation. -
static Matrix4X4#multiplyInPlace(other)
-
Multiplies the matrix by another matrix.
Parameters:
Name Type Description other Matrix4X4 The other matrix. -
static Matrix4X4#set16()
-
Set the matrix using parameters.
-
static Matrix4X4#setFromArray(ma)
-
Set the matrix from an array of 16 numbers.
Parameters:
Name Type Description ma Array.<number> Numbers.