Explorar o código

Fixes a compile error in NewtMouseInput

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10450 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
jul..om %!s(int64=12) %!d(string=hai) anos
pai
achega
76de5e345e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      engine/src/jogl/com/jme3/input/jogl/NewtMouseInput.java

+ 1 - 1
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;
     }