From f25b6760b93fa34b4f5398c60cbb78eb1c948811 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 16 Jul 2013 07:24:34 +0200 Subject: GPUUISceneGLListener0A: Rotate on vertical scroll .. --- .../jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/com') 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 2e8ad02d8..59ce28408 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 @@ -429,7 +429,7 @@ public class GPUUISceneGLListener0A implements GLEventListener { @Override public void mouseWheelMoved(MouseEvent e) { if( !e.isShiftDown() ) { - zoom += 2f*e.getRotation()[0]; + zoom += 2f*e.getRotation()[1]; // vertical: wheel } } } -- cgit v1.2.3