MCPcopy Create free account
hub / github.com/melonjs/melonJS / constructor

Method constructor

packages/melonjs/src/math/matrix3d.ts:53–56  ·  view source on GitHub ↗

* Constructs a new Matrix3d object. * @param value - The values to initialize the matrix with.

(...value: ConstructorArg)

Source from the content-addressed store, hash-verified

51 * @param value - The values to initialize the matrix with.
52 */
53 constructor(...value: ConstructorArg) {
54 this.val = new Float32Array(16);
55 reset(this, ...value);
56 }
57
58 /**
59 * Gets the tx component of the matrix.

Callers

nothing calls this directly

Calls 1

resetFunction · 0.70

Tested by

no test coverage detected