summaryrefslogtreecommitdiffstats
path: root/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java')
-rw-r--r--src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java b/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java
index 4752dbb..91eb6e6 100644
--- a/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java
+++ b/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java
@@ -67,7 +67,6 @@ import gleem.linalg.*;
public class InfiniteShadowVolumes {
private GLCanvas canvas;
- private Animator animator;
private volatile boolean quit;
public static void main(String[] args) {
@@ -80,8 +79,6 @@ public class InfiniteShadowVolumes {
canvas = GLDrawableFactory.getFactory().createGLCanvas(caps);
canvas.addGLEventListener(new Listener());
- animator = new Animator(canvas);
-
Frame frame = new Frame("Infinite Stenciled Shadow Volumes");
frame.setLayout(new BorderLayout());
canvas.setSize(512, 512);
@@ -95,8 +92,6 @@ public class InfiniteShadowVolumes {
runExit();
}
});
-
- animator.start();
}
static class Model {
@@ -1294,7 +1289,6 @@ public class InfiniteShadowVolumes {
// the exit routine in another thread.
new Thread(new Runnable() {
public void run() {
- animator.stop();
System.exit(0);
}
}).start();