4 #include "gmath/gmath.h"
6 extern int win_width, win_height;
7 extern float win_aspect;
9 extern double time_sec;
11 extern Mat4 view_matrix;
14 bool app_init(int argc, char **argv);
18 void app_reshape(int x, int y);
19 void app_keyboard(int key, bool pressed);
20 void app_mouse_button(int bn, bool pressed, int x, int y);
21 void app_mouse_motion(int x, int y);
23 // the following functions are implemented by the window system backend
24 void app_resize(int x, int y);
25 void app_fullscreen(int fs);
28 void app_swap_buffers();