Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/melonjs/melonJS
/ drawOnce
Function
drawOnce
packages/melonjs/tests/sprite.spec.js:514–518 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
512
currentNormalMap: null,
513
};
514
const
drawOnce = () => {
515
s.preDraw(stub);
516
s.draw(stub);
517
s.postDraw(stub);
518
};
519
520
drawOnce();
// frame 0 → sx 0
521
s.update(100);
Callers
1
sprite.spec.js
File · 0.70
Calls
3
preDraw
Method · 0.45
draw
Method · 0.45
postDraw
Method · 0.45
Tested by
no test coverage detected