From 76de5e345e2e61793c8a9f6a0cab50dc9db7d780 Mon Sep 17 00:00:00 2001 From: "jul..om" Date: Wed, 27 Feb 2013 21:25:50 +0000 Subject: [PATCH] Fixes a compile error in NewtMouseInput git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10450 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/jogl/com/jme3/input/jogl/NewtMouseInput.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/jogl/com/jme3/input/jogl/NewtMouseInput.java b/engine/src/jogl/com/jme3/input/jogl/NewtMouseInput.java index 7ae3f7df3..21a94994c 100644 --- a/engine/src/jogl/com/jme3/input/jogl/NewtMouseInput.java +++ b/engine/src/jogl/com/jme3/input/jogl/NewtMouseInput.java @@ -207,7 +207,7 @@ public class NewtMouseInput implements MouseInput, MouseListener { public void mouseWheelMoved(MouseEvent awtEvt) { //FIXME not sure this is the right way to handle this case - int dwheel = awtEvt.getWheelRotation(); + float dwheel = awtEvt.getWheelRotation(); wheelPos += dwheel * WHEEL_AMP; cursorMoved = true; }