(self, window, x, y)
Mouse movement callback.

    Args:
      window: Window object from glfw.
      x: Horizontal position of mouse, in pixels.
      y: Vertical position of mouse, in pixels.
Mouse movement callback.
Mouse movement callback .
def _handle_move(self, window, x, y):
    """Mouse movement callback.

    Args:
      window: Window object from glfw.
      x: Horizontal position of mouse, in pixels.
      y: Vertical position of mouse, in pixels.
    """
    del window
    position = np.array([x, y], np.int) * self._scale
    delta = position - self._last_mouse_pos
    self._last_mouse_pos = position
    self.add_event(self.on_move, position, delta)
def _handle_move ( self , window , x , y ) : del window position = np . array ( [ x , y ] , np . int ) * self . _scale delta = position - self . _last_mouse_pos self . _last_mouse_pos = position self . add_event ( self . on_move , position , delta )