Skip to content

Instantly share code, notes, and snippets.

@amiller
Created November 26, 2013 03:10
Show Gist options
  • Save amiller/7652929 to your computer and use it in GitHub Desktop.
Save amiller/7652929 to your computer and use it in GitHub Desktop.
gl.begin(gl.GL_TRIANGLES);
gl.vertex3f(-1.0, -0.5, -4.0);
gl.vertex3f( 1.0, -0.5, -4.0);
gl.vertex3f( 0.0, 0.5, -4.0);
gl.end();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment