Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 228 Bytes
// Declare a new attribute for the vertex position.
attribute vec3 a_vertexPosition;
void main() {
// Pass our vertex attribute to the output vector by creating a new vec4.
gl_Position = vec4(a_vertexPosition, 1.0);
}
You can’t perform that action at this time.