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

Method copy

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

* Copies over the values from another me.Matrix3d. * @param m - the matrix object to copy from * @returns Reference to this object for method chaining

(m: Matrix3d)

Source from the content-addressed store, hash-verified

123 * @returns Reference to this object for method chaining
124 */
125 copy(m: Matrix3d) {
126 this.val.set(m.val);
127 return this;
128 }
129
130 /**
131 * Copies over the upper-left 2x2 values from the given me.Matrix2d

Callers 1

resetFunction · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected