cubemapper

annotate 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
rev   line source
nuclear@0 1 #ifndef APP_H_
nuclear@0 2 #define APP_H_
nuclear@0 3
nuclear@0 4 bool app_init(int argc, char **argv);
nuclear@0 5 void app_cleanup();
nuclear@0 6
nuclear@0 7 void app_draw();
nuclear@0 8
nuclear@0 9 void app_reshape(int x, int y);
nuclear@0 10 void app_keyboard(int key, bool press);
nuclear@0 11 void app_mouse_button(int bn, bool press, int x, int y);
nuclear@0 12 void app_mouse_motion(int x, int y);
nuclear@0 13
nuclear@0 14 // functions implemented in main.cc
nuclear@0 15 void app_quit();
nuclear@0 16 void app_redisplay();
nuclear@0 17 void app_swap_buffers();
nuclear@1 18 void app_resize(int x, int y);
nuclear@0 19
nuclear@0 20 #endif // APP_H_