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

Function update

components/liquid-chrome.tsx:176–180  ·  view source on GitHub ↗
(t: number)

Source from the content-addressed store, hash-verified

174
175 let animationId: number;
176 function update(t: number) {
177 animationId = requestAnimationFrame(update);
178 program.uniforms.uTime.value = t * 0.001 * speed;
179 renderer.render({ scene: mesh });
180 }
181 animationId = requestAnimationFrame(update);
182
183 container.appendChild(gl.canvas);

Callers

nothing calls this directly

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected