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