Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/camera.cc')
-rw-r--r--src/render/camera.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/render/camera.cc b/src/render/camera.cc
index 6c9a115..a55038d 100644
--- a/src/render/camera.cc
+++ b/src/render/camera.cc
@@ -302,18 +302,7 @@ void Camera::draw(float seconds)
}
}
- // Change to the projection matrix and set our viewing volume.
- gl::matrixmode(GL_PROJECTION);
- gl::loadidentity();
-
- const float frustum_size = 0.5f;
- const float frustum_front = 1.0f;
distance += frustum_front;
- gl::frustum(-frustum_size*aspect(), frustum_size*aspect(), -frustum_size, frustum_size, frustum_front, 1024.0f);
-
- // model view
- gl::matrixmode(GL_MODELVIEW);
- gl::loadidentity();
// map world coordinates to opengl coordinates
gl::rotate(90.0f, 0, 1.0, 0);