MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / update

Function update

components/balatro.tsx:210–214  ·  view source on GitHub ↗
(time: number)

Source from the content-addressed store, hash-verified

208 let animationFrameId: number;
209
210 function update(time: number) {
211 animationFrameId = requestAnimationFrame(update);
212 program.uniforms.iTime.value = time * 0.001;
213 renderer.render({ scene: mesh });
214 }
215 animationFrameId = requestAnimationFrame(update);
216 container.appendChild(gl.canvas);
217

Callers

nothing calls this directly

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected