Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2279 - trunk/UserInterface


Chronological Thread 
  • From: roni@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r2279 - trunk/UserInterface
  • Date: Fri, 30 May 2008 16:18:39 -0600 (MDT)

Author: roni
Date: Fri May 30 16:18:37 2008
New Revision: 2279

Modified:
   trunk/UserInterface/XWindowUI.cc
Log:
UserInterface/XWindowUI.cc:

-invert" should only invert the up/down motion.

Modified: trunk/UserInterface/XWindowUI.cc
==============================================================================
--- trunk/UserInterface/XWindowUI.cc    (original)
+++ trunk/UserInterface/XWindowUI.cc    Fri May 30 16:18:37 2008
@@ -1037,7 +1037,7 @@
     ias.last_y = mouse_y;
   } else {
     XWindow* window = windows[channel];
-    Real xmotion = invert*Real(ias.last_x-mouse_x)/window->xres;
+    Real xmotion = Real(ias.last_x-mouse_x)/window->xres;
     Real ymotion = invert*Real(ias.last_y-mouse_y)/window->yres;
     Vector rotation(xmotion*rotate_speed, ymotion*rotate_speed, 0);
     Vector translation(0, 0, 0);


  • [Manta] r2279 - trunk/UserInterface, roni, 05/30/2008

Archive powered by MHonArc 2.6.16.

Top of page