diff options
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java index f066f0b84..eaac2b1bf 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java @@ -426,5 +426,10 @@ public class GPUUISceneGLListener0A implements GLEventListener { ly = ny; } } + + @Override + public void mouseWheelMoved(MouseEvent e) { + zoom += 2f*e.getWheelRotation(); + } } }
\ No newline at end of file |