summaryrefslogtreecommitdiff
path: root/camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'camera.c')
-rw-r--r--camera.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/camera.c b/camera.c
index d54f0dd..699b59c 100644
--- a/camera.c
+++ b/camera.c
@@ -66,15 +66,10 @@ reloadcamera(Camera *c)
verifycfg(c);
switch(c->projtype){
case ORTHOGRAPHIC:
- /*
r = Dx(c->vp->fbctl->fb[0]->r)/2;
t = Dy(c->vp->fbctl->fb[0]->r)/2;
l = -r;
b = -t;
- */
- l = t = 0;
- r = Dx(c->vp->fbctl->fb[0]->r);
- b = Dy(c->vp->fbctl->fb[0]->r);
orthographic(c->proj, l, r, b, t, c->clip.n, c->clip.f);
break;
case PERSPECTIVE: