3dphotoshoot

diff src/game.c @ 4:38377f54527a

having a whack at the camera api... at least the java crap compiles, we'll try calling it later
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 19 May 2015 06:05:51 +0300
parents a4bf2687e406
children 7f6e6eb3d20e
line diff
     1.1 --- a/src/game.c	Fri May 15 05:15:47 2015 +0300
     1.2 +++ b/src/game.c	Tue May 19 06:05:51 2015 +0300
     1.3 @@ -23,9 +23,9 @@
     1.4  
     1.5  void game_display(unsigned long msec)
     1.6  {
     1.7 -	float tsec = (float)msec / 1000.0f;
     1.8 +	//float tsec = (float)msec / 1000.0f;
     1.9  
    1.10 -	glClearColor(sin(tsec * 10.0), cos(tsec * 10.0), -sin(tsec * 10.0), 1.0);
    1.11 +	//glClearColor(sin(tsec * 10.0), cos(tsec * 10.0), -sin(tsec * 10.0), 1.0);
    1.12  	glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    1.13  
    1.14  	glMatrixMode(GL_MODELVIEW);