shithub: 3d

ref: f28761707705822dcbc33b4de801d5d41f92331c
dir: /dat.h/

View raw version
typedef struct Key Key;
typedef struct Foint Foint;

enum{
	Te9 = 1000000000,
	Te6 = 1000000,
	Te3 = 1000,
};
extern int tdiv;

struct Key{
	Rune r;
	void (*fn)(void);
	int down;
};
extern Key keys[];
extern int nkeys;

extern Image *fb;
extern Rectangle fbr;

struct Foint{
	double x;
	double y;
};

extern char *progname;
extern void (*renderfn)(void);
extern void (*stepsimfn)(void);