diff options
author | Sven Gothel <[email protected]> | 2013-07-16 07:24:34 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-07-16 07:24:34 +0200 |
commit | f25b6760b93fa34b4f5398c60cbb78eb1c948811 (patch) | |
tree | 21ce683d1c85861652a446a90f47db7e91bf3095 /src/test | |
parent | e92e561df9673ce77783d6fa3815a942a39a53c0 (diff) |
GPUUISceneGLListener0A: Rotate on vertical scroll ..
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java | 2 |
1 files changed, 1 insertions, 1 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 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 } } } |