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

Method push

src/utils/MStack.js:18–23  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

16 }
17
18 push(m) {
19 if (this.size === 0) Mat3.set(m, this.mats[0]);
20 else Mat3.multiply(this.mats[this.size - 1], m, this.mats[this.size]);
21
22 this.size++;
23 }
24
25 pop() {
26 if (this.size > 0) this.size--;

Callers 15

crafty.jsFile · 0.80
prepFunction · 0.80
collie.min.jsFile · 0.80
pixi-spine.jsFile · 0.80
IkConstraintFunction · 0.80
PathConstraintFunction · 0.80
SkeletonFunction · 0.80
iterateParserFunction · 0.80
TransformConstraintFunction · 0.80
SpineFunction · 0.80
nFunction · 0.80

Calls 1

setMethod · 0.45

Tested by 1

itFunction · 0.64