Java Bindings for OpenGL: Difference between revisions

Content deleted Content added
BattyBot (talk | contribs)
changed {{Unreferenced}} to {{Refimprove}} & general fixes using AWB (7916)
Hey lu (talk | contribs)
m Change gLDrawable to glDrawable (in the Java example)
Line 40:
Which translates to the following [[Java (programming language)|Java]] implementation:
<source lang="java">
public void display(GLAutoDrawable gLDrawableglDrawable) {
final GL gl = gLDrawableglDrawable.getGL();
gl.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
gl.glLoadIdentity();