Created
May 12, 2017 02:07
-
-
Save vincentdesmares/9bb817dbc9a796cac7bd45c6f19bb80b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function drawScene() { | |
gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT); | |
gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4); | |
requestAnimationFrame(drawScene); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment