Transitioning between night and day

This commit is contained in:
Sasha Koshka
2021-05-09 16:15:23 -04:00
parent 355a247d00
commit c0ff5f7ef1

2
main.c
View File

@@ -650,7 +650,7 @@ static int gameLoop(
// Clear screen
timeCoef = cos(SDL_GetTicks() / 1024) / 2 + 1;
timeCoef = (cos(SDL_GetTicks() / 16384) + 1 ) / 2;
// FOR DAY:
SDL_SetRenderDrawColor(
renderer,