Changed to delta so that the edge cases happen less (since the 'move
less' each frame)
This commit is contained in:
parent
398cae3b24
commit
b4203884ef
2
game.h
2
game.h
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user