diff options
author | Sven Gothel <[email protected]> | 2008-11-29 18:29:33 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-11-29 18:29:33 +0000 |
commit | dbe8ec3faa5243743198cc638cabd08da4471ebb (patch) | |
tree | 15bb632900c8de017dc7ab13ba8ddd0b0473a385 /src/demos/es1/cube | |
parent | 67a26a661d0230aa7a30535fc7c867984f544c4c (diff) |
Add MovieCube
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@301 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/es1/cube')
-rw-r--r-- | src/demos/es1/cube/Cube.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/demos/es1/cube/Cube.java b/src/demos/es1/cube/Cube.java index 7db30b2..b77c4e9 100644 --- a/src/demos/es1/cube/Cube.java +++ b/src/demos/es1/cube/Cube.java @@ -180,10 +180,6 @@ public class Cube implements GLEventListener { public void display(GLAutoDrawable drawable) { GL gl = drawable.getGL(); - GL2ES1 glF=null; - if(gl.isGL2ES1()) { - glF = drawable.getGL().getGL2ES1(); - } gl.glClear(gl.GL_COLOR_BUFFER_BIT | gl.GL_DEPTH_BUFFER_BIT); @@ -195,8 +191,6 @@ public class Cube implements GLEventListener { gl.glRotatef((float)(time * 22.311f), -0.1f, 0.0f, -5.0f); gl.glDrawElements(gl.GL_TRIANGLES, 6 * 6, gl.GL_UNSIGNED_BYTE, cubeIndices); - // gl.glFinish(); - // System.err.println(gl); time += 0.01f; } |