Show
Ignore:
Timestamp:
08/26/10 18:56:28 (21 months ago)
Author:
Carsten
Message:

Clean-up of code and comments.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp

    r132 r133  
    461461    FrameBuffer.PushBackEmpty(Width*Height); 
    462462 
    463     // Read the pixels fromt the OpenGL back buffer into FrameBuffer. 
     463    // Read the pixels from the OpenGL back buffer into FrameBuffer. 
    464464    // Note that the first two parameters (0, 0) specify the left BOTTOM corner of the desired rectangle! 
    465465    glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, &FrameBuffer[0]); 
     
    582582 
    583583            ME.Type  =CaMouseEventT::CM_MOVE_X; 
    584             ME.Amount=MouseDelta.x;     // TODO: Factor out screen resolution... 
     584            ME.Amount=MouseDelta.x; 
    585585            if (ME.Amount!=0) ActiveGui->ProcessDeviceEvent(ME); 
    586586 
    587587            ME.Type  =CaMouseEventT::CM_MOVE_Y; 
    588             ME.Amount=MouseDelta.y;     // TODO: Factor out screen resolution... 
     588            ME.Amount=MouseDelta.y; 
    589589            if (ME.Amount!=0) ActiveGui->ProcessDeviceEvent(ME); 
    590590        }