Toroidal mapping now works properly.

This commit is contained in:
Sheldon Lee
2020-07-01 02:01:52 +01:00
parent fada7a7af3
commit d788232e72
3 changed files with 19 additions and 3 deletions
+3
View File
@@ -7,6 +7,7 @@
#include <math.h>
// game
#include "game.h"
#include "log.h"
int main()
@@ -15,6 +16,7 @@ int main()
// framerate of the game
const int FRAME_RATE = 30;
const float FRAME_TIME = 1.f/(float)FRAME_RATE;
startLog("log.txt");
initGame();
@@ -39,6 +41,7 @@ int main()
}
endGame();
endLog();
return 0;
}