Changeset 136 for cafu/trunk/Ca3DE/Client/ClientWindow.cpp
- Timestamp:
- 08/27/10 11:30:01 (21 months ago)
- Files:
-
- 1 modified
-
cafu/trunk/Ca3DE/Client/ClientWindow.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cafu/trunk/Ca3DE/Client/ClientWindow.cpp
r36 r136 77 77 { 78 78 // 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 88 79 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 );93 80 } 94 81
