cubemapper

view src/app.h @ 1:d7a29cb7ac8d

resize to the final cubemap face size
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 28 Jul 2017 07:44:35 +0300
parents 8fc9e1d3aad2
children e308561f9889
line source
1 #ifndef APP_H_
2 #define APP_H_
4 bool app_init(int argc, char **argv);
5 void app_cleanup();
7 void app_draw();
9 void app_reshape(int x, int y);
10 void app_keyboard(int key, bool press);
11 void app_mouse_button(int bn, bool press, int x, int y);
12 void app_mouse_motion(int x, int y);
14 // functions implemented in main.cc
15 void app_quit();
16 void app_redisplay();
17 void app_swap_buffers();
18 void app_resize(int x, int y);
20 #endif // APP_H_