summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/demos/joglinterop/UserSceneInteraction.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-12-01 00:50:59 +0100
committerMichael Bien <[email protected]>2009-12-01 00:50:59 +0100
commitfa7b42cb1b3f9932a07666a8886ef276efb2ddf0 (patch)
tree79b053dd005af9173e4dd351651455c0113a5119 /src/com/mbien/opencl/demos/joglinterop/UserSceneInteraction.java
parent927ba4bbd684ad66da1da416562830af58d2cf57 (diff)
build is now ready to be used in hudson.
updated demos due to api changes.
Diffstat (limited to 'src/com/mbien/opencl/demos/joglinterop/UserSceneInteraction.java')
-rw-r--r--src/com/mbien/opencl/demos/joglinterop/UserSceneInteraction.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/mbien/opencl/demos/joglinterop/UserSceneInteraction.java b/src/com/mbien/opencl/demos/joglinterop/UserSceneInteraction.java
index ab36f5e..bec2d28 100644
--- a/src/com/mbien/opencl/demos/joglinterop/UserSceneInteraction.java
+++ b/src/com/mbien/opencl/demos/joglinterop/UserSceneInteraction.java
@@ -16,8 +16,8 @@ import javax.media.opengl.GL2;
public class UserSceneInteraction {
private float z = -20;
- private float rotx;
- private float roty;
+ private float rotx = 45;
+ private float roty = 30;
private Point dragstart;
private enum MOUSE_MODE { DRAG_ROTATE, DRAG_ZOOM }
@@ -54,7 +54,7 @@ public class UserSceneInteraction {
public void mouseWheelMoved(MouseWheelEvent e) {
z += e.getWheelRotation()*5;
}
-
+
});
component.addMouseListener(new MouseAdapter() {
@@ -100,4 +100,4 @@ public class UserSceneInteraction {
}
-}
+} \ No newline at end of file