Created
May 12, 2017 02:01
-
-
Save vincentdesmares/acaa024bf739d74cc9fe881f77c0be45 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); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment