diff options
Diffstat (limited to 'src/demos')
-rw-r--r-- | src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java b/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java index 1f9bdca..f091c11 100644 --- a/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java +++ b/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java @@ -153,6 +153,7 @@ public class InfiniteShadowVolumes { private boolean enableDepthClampNV; private boolean toggleDepthClampNV; + private boolean animateContinually; private boolean animateForward; private boolean animateBackward; private boolean hideCurrentModel; @@ -537,6 +538,11 @@ public class InfiniteShadowVolumes { gl.glLineWidth(1); gl.glPopMatrix(); } + + if (b[' ']) { + // Animating continually. Schedule another repaint soon. + canvas.repaint(); + } } // Unused routines |