shithub: musw

ref: 10f8e5542686760b772abf40929a51fb63afad93
dir: /dat.h/

View raw version
#define FPS2MS(fps)	(1000/(fps))

typedef struct GameState GameState;
typedef struct Derivative Derivative;

struct GameState
{
	double x, v;
};

struct Derivative
{
	double dx, dv;
};