- Timestamp:
- 11/06/08 10:41:02 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/SceneQuery.cpp
r3102 r3103 162 162 glMatrixMode(GL_MODELVIEW); 163 163 glPushMatrix(); 164 //glLoadIdentity();164 glLoadIdentity(); 165 165 166 166 glMatrixMode(GL_PROJECTION); 167 167 glPushMatrix(); 168 //glLoadIdentity();168 glLoadIdentity(); 169 169 170 170 OrthoCamera *orthoCam = new OrthoCamera(xlen, -xlen, ylen, -ylen, .0f, mSceneBox.Size().z); 171 171 172 orthoCam->Yaw(.5 * M_PI);173 172 orthoCam->SetDirection(Vector3(0, 0, -1)); 174 173 orthoCam->SetPosition(pos); … … 177 176 178 177 //glOrtho(xlen, -xlen, ylen, -ylen, 0.0f, mSceneBox.Size().z); 179 //glMatrixMode(GL_MODELVIEW);178 glMatrixMode(GL_MODELVIEW); 180 179 //orthoCam->SetupCameraView(); 181 180
Note: See TracChangeset
for help on using the changeset viewer.