Created
May 12, 2017 01:58
-
-
Save vincentdesmares/4719ec10638153637502ad5180a52983 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
gl.bindBuffer(gl.ARRAY_BUFFER, squareVerticesBuffer); | |
// gl.ARRAY_BUFFER will refer to squareVerticesBuffer | |
gl.bufferData(gl.ARRAY_BUFFER,vertices, gl.STATIC_DRAW); | |
// Fills the buffer bound to the gl.ARRAY_BUFFER variable, squareVerticesBuffer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment