From 25204678f889de889a6b23c170e17bd7f13d2c01 Mon Sep 17 00:00:00 2001 From: Rami Santina Date: Thu, 6 Oct 2011 20:20:32 +0300 Subject: GraphUI: flip y coords --- .../jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/com/jogamp') 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 83b64bfac..5abc181a8 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 @@ -407,7 +407,7 @@ public class GPUUISceneGLListener0A implements GLEventListener { xTran += Math.signum(dx); } else { - yTran += Math.signum(dy); + yTran -= Math.signum(dy); } lx = nx; ly = ny; -- cgit v1.2.3