replace main.c & game.c with cave_main.c

This commit is contained in:
Sean Barrett
2015-02-22 15:52:03 -08:00
parent 7add4d09b9
commit 1d18b23ea1
7 changed files with 685 additions and 736 deletions

View File

@ -344,7 +344,7 @@ void stbgl_Perspective(float zoom, float max_hfov, float max_vfov, float znear,
} else {
vfov = (float) atan((unit_height/2) / zoom);
}
vfov = stbgl_rad2deg(vfov * 2);
vfov = (float) stbgl_rad2deg(vfov * 2);
gluPerspective(vfov, aspect, znear, zfar);
}