News for hackers. Stuff that matters.
Re:SwissGL: Swiss Army Knife for WebGL2 by shaneos on Sunday February 26, 2023 @06:53AM (#34944852)
The example in the README seems to be dividing “undefined” by 1000. Am I misunderstanding something, does that code truly generate the output shown somehow?
Re:SwissGL: Swiss Army Knife for WebGL2 by znah on Sunday February 26, 2023 @09:01AM (#34945597)
Fixed, thanks for pointing! Undefined is only passed at the first frame, other frames receive current time in ms, according to requestAnimationFrame docs