Changed to delta so that the edge cases happen less (since the 'move

less' each frame)
This commit is contained in:
Karma Riuk 2023-05-17 13:21:43 +02:00
parent 398cae3b24
commit b4203884ef

2
game.h
View File

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