MCPcopy Create free account
hub / github.com/drawcall/Proton / set

Method set

src/utils/MStack.js:11–16  ·  view source on GitHub ↗
(m, i)

Source from the content-addressed store, hash-verified

9 }
10
11 set(m, i) {
12 if (i === 0) Mat3.set(m, this.mats[0]);
13 else Mat3.multiply(this.mats[i - 1], m, this.mats[i]);
14
15 this.size = Math.max(this.size, i + 1);
16 }
17
18 push(m) {
19 if (this.size === 0) Mat3.set(m, this.mats[0]);

Callers 13

collie.min.jsFile · 0.45
pixi-spine.jsFile · 0.45
pixi.min.jsFile · 0.45
oFunction · 0.45
eFunction · 0.45
phaser.min.jsFile · 0.45
tFunction · 0.45
pushMethod · 0.45
resetMethod · 0.45
resizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected