Now when polygons collide, they get moved by the overlap to ensure that

they don't get stuck in the following frames, it works very well and
Carza is happy :))))))
This commit is contained in:
Karma Riuk
2023-05-19 15:24:11 +02:00
parent 92e51a96be
commit a424fec9a9
5 changed files with 94 additions and 102 deletions

2
game.h
View File

@ -8,7 +8,7 @@
extern double delta; /* simulation time delta in seconds */
#define DEFAULT_DELTA 0.001
#define DEFAULT_DELTA 0.01
extern int width; /* game canvas width */
extern int height; /* game canvas height */