Matrix3f

Lore. Matrix3f

A class representing a 3x3 float matrix

Constructor

new Matrix3f(entriesopt)

Source:

The constructor for the class Matrix3f.

Parameters:
Name Type Attributes Default Description
entries Float32Array <optional>
new Float32Array(...)

The Float32Array to which the entries will be set. If no value is provided, the matrix will be initialized to the identity matrix.

Methods

clone() → {Matrix3f}

Source:

Clones the matrix and returns the clone as a new Matrix3f object.

Returns:

The clone.

Type
Matrix3f

equals(mat) → {boolean}

Source:

Compares this matrix to another matrix.

Parameters:
Name Type Description
mat Matrix3f

A matrix to be compared to this matrix.

Returns:

A boolean indicating whether or not the two matrices are identical.

Type
boolean