aboutsummaryrefslogtreecommitdiff
path: root/dat.h
blob: 97e07193a76721c41d7505d8d3314a5fcdc7c7ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#define FPS2MS(fps)	(1000/(fps))

typedef struct GameState GameState;
typedef struct Derivative Derivative;

struct GameState
{
	double x, v;
};

struct Derivative
{
	double dx, dv;
};