Changeset 2605


Ignore:
Timestamp:
01/17/08 10:11:01 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlViewer.cpp

    r2604 r2605  
    177177 
    178178        glLoadIdentity(); 
    179         gluLookAt(0.0f, 10.0f, 0.0f,  // eye is at (0,0,30)  
     179        gluLookAt(0.0f, 0.0f, 10.0f,  // eye is at (0,0,30)  
    180180                      0.0f, 0.0f, 0.0f,  // center is at (0,0,0)  
    181                       0.0f, 0.0f, 1.0f); // up is in positive Y direction  
     181                      0.0f, 1.0f, 0.0f); // up is in positive Y direction  
    182182 
    183183        build_rotmatrix(m.x, manipulatorLastQuat); 
     
    263263                float quat[4]; 
    264264                trackball(quat, 
    265                                                         (2.0 * lastX - W) / W, 
    266                                                         (H - 2.0 * lastY) / H, 
    267                                                         (2.0 * x - W) / W, 
    268                                                         (H - 2.0 * y) / H 
    269                                                         ); 
     265                                  (2.0 * lastX - W) / W, 
     266                                  (H - 2.0 * lastY) / H, 
     267                                  (2.0 * x - W) / W, 
     268                                  (H - 2.0 * y) / H 
     269                                  ); 
     270 
    270271                add_quats(quat, manipulatorLastQuat, manipulatorLastQuat); 
    271272  } 
Note: See TracChangeset for help on using the changeset viewer.