Created
May 12, 2017 02:00
-
-
Save vincentdesmares/c4f70069c9c813980837ddd24cee9138 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
var option = gl.TRIANGLE_STRIP; // see above | |
var start = 0; // The first vertex to plot, in order provided in the buffer. | |
var count = 4; // The number of vertices to be rendered from the buffer | |
gl.drawArrays(option, start, count); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment