istereo

diff src/istereo.c @ 37:e60f9d8af28d

fixed the orientation of the tunnel when in non-stereo mode
author John Tsiombikas <nuclear@mutantstargoat.com>
date Fri, 09 Sep 2011 23:37:38 +0300
parents 834503dcb486
children ff055bff6a15
line diff
     1.1 --- a/src/istereo.c	Fri Sep 09 10:25:03 2011 +0300
     1.2 +++ b/src/istereo.c	Fri Sep 09 23:37:38 2011 +0300
     1.3 @@ -114,7 +114,6 @@
     1.4  		gl_load_identity();
     1.5  		cam_stereo_view_matrix(CAM_RIGHT);
     1.6  		gl_translatef(-pan_x, -pan_y, -1.1 * ring_height * segm);
     1.7 -		/*gl_rotatef(-90, 0, 0, 1);*/
     1.8  
     1.9  		render(tsec);
    1.10  
    1.11 @@ -131,7 +130,6 @@
    1.12  		gl_load_identity();
    1.13  		cam_stereo_view_matrix(CAM_LEFT);
    1.14  		gl_translatef(-pan_x, -pan_y, -1.1 * ring_height * segm);
    1.15 -		/*gl_rotatef(-90, 0, 0, 1);*/
    1.16  
    1.17  		render(tsec);
    1.18  	} else {
    1.19 @@ -140,6 +138,7 @@
    1.20  
    1.21  		gl_matrix_mode(GL_PROJECTION);
    1.22  		gl_load_identity();
    1.23 +		gl_rotatef(-90, 0, 0, 1);
    1.24  		cam_proj_matrix();
    1.25  
    1.26  		gl_matrix_mode(GL_MODELVIEW);