From 15e1287f8bdd952ebce07fcd88381a9c2d836a61 Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 8 Feb 2017 22:02:37 -0600 Subject: made it so the config.h define for separation between cameras is actually used --- src/graphics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/graphics.c') diff --git a/src/graphics.c b/src/graphics.c index 17abb21..f8d2bf6 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -463,8 +463,8 @@ void draw_screen() { //} } // XSetForeground(global.dpy, global.backgc, global.green.pixel); - camera.p.z+=(gra_global.split_flip)*(gra_global.split*cosl(d2r(camera.yr.d+180))); - camera.p.x+=(gra_global.split_flip)*(gra_global.split*sinl(d2r(camera.yr.d+180))); + camera.p.z+=(CAMERA_SEPARATION)*(gra_global.split_flip)*(gra_global.split*cosl(d2r(camera.yr.d+180))); + camera.p.x+=(CAMERA_SEPARATION)*(gra_global.split_flip)*(gra_global.split*sinl(d2r(camera.yr.d+180))); } //TODO: figure out what all this shit is and either update or remove. -- cgit v1.2.3