Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.js
File · 0.80
prep
Function · 0.80
collie.min.js
File · 0.80
quark.base-1.0.0.min.js
File · 0.80
pixi-spine.js
File · 0.80
IkConstraint
Function · 0.80
PathConstraint
Function · 0.80
Skeleton
Function · 0.80
iterateParser
Function · 0.80
TransformConstraint
Function · 0.80
Spine
Function · 0.80
n
Function · 0.80
Calls
1
set
Method · 0.45
Tested by
1
it
Function · 0.64