Created
May 12, 2017 02:06
-
-
Save vincentdesmares/ff509074b88d523e4a5a69089227e35a 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 buffer(vertices){ | |
gl.bindBuffer(gl.ARRAY_BUFFER, squareVerticesBuffer); | |
gl.bufferData(gl.ARRAY_BUFFER, vertices, gl.STATIC_DRAW); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment