Show
Ignore:
Timestamp:
08/16/10 21:15:24 (21 months ago)
Author:
Carsten
Message:

Re-established most of the client functionality:

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/branches/cafu_to_wx/Ca3DE/Client/ClientWindow.cpp

    r36 r119  
    7777{ 
    7878    // Call the clients render methods here. 
    79  
    80     // We don't want want ortho rendering here, so setup a perspective projection matrix. 
    81     // TODO 1: Move this into the world rendering code?? 
    82     // TODO 2: Should actually *push* the matrices, properly *set* them and below *pop* them!! 
    83     //         Also see the TODO in GuiManImplT::RenderAll() for more details!! 
    84     MatSys::Renderer->PopMatrix(MatSys::RendererI::PROJECTION    ); 
    85     MatSys::Renderer->PopMatrix(MatSys::RendererI::MODEL_TO_WORLD); 
    86     MatSys::Renderer->PopMatrix(MatSys::RendererI::WORLD_TO_VIEW ); 
    87  
    8879    Client->Render(LastFrameTime); 
    89  
    90     MatSys::Renderer->PushMatrix(MatSys::RendererI::PROJECTION    ); 
    91     MatSys::Renderer->PushMatrix(MatSys::RendererI::MODEL_TO_WORLD); 
    92     MatSys::Renderer->PushMatrix(MatSys::RendererI::WORLD_TO_VIEW ); 
    9380} 
    9481