Browse Source

Fixed the double in mouseData

Josh Yelon 18 years ago
parent
commit
3ccb93583f
2 changed files with 4 additions and 4 deletions
  1. 2 2
      panda/src/putil/mouseData.I
  2. 2 2
      panda/src/putil/mouseData.h

+ 2 - 2
panda/src/putil/mouseData.I

@@ -25,8 +25,8 @@
 INLINE MouseData::
 MouseData() {
   _in_window = false;
-  _xpos = 0.0;
-  _ypos = 0.0;
+  _xpos = 0;
+  _ypos = 0;
 }
 
 ////////////////////////////////////////////////////////////////////

+ 2 - 2
panda/src/putil/mouseData.h

@@ -43,8 +43,8 @@ PUBLISHED:
 
 public:
   bool _in_window;
-  double _xpos;
-  double _ypos;
+  int _xpos;
+  int _ypos;
 };
 
 INLINE ostream &operator << (ostream &out, const MouseData &md);