Closed mikolalysenko closed 9 years ago
Instead of manually calling gl.vertexAttribPointer(), we can use gl-shader-core's .pointer() function.
This is a bit shorter, and the defaults here are exactly what we need for this demo, so it seems more appropriate.
Seems good to me. :+1:
Neat, didn't know about this one! More stuff like this is always good, thanks @mikolalysenko :)
Instead of manually calling gl.vertexAttribPointer(), we can use gl-shader-core's .pointer() function.
This is a bit shorter, and the defaults here are exactly what we need for this demo, so it seems more appropriate.