projects
/
vrfileman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable post-process framebuffer rendering while in VR
[vrfileman]
/
src
/
app.h
diff --git
a/src/app.h
b/src/app.h
index
ee34a44
..
97f8f8b
100644
(file)
--- a/
src/app.h
+++ b/
src/app.h
@@
-1,9
+1,17
@@
#ifndef APP_H_
#define APP_H_
#ifndef APP_H_
#define APP_H_
+#include "gmath/gmath.h"
+#include "opt.h"
+
extern int win_width, win_height;
extern float win_aspect;
extern long time_msec;
extern int win_width, win_height;
extern float win_aspect;
extern long time_msec;
+extern double time_sec;
+
+extern float cam_height;
+extern Mat4 view_matrix;
+
bool app_init(int argc, char **argv);
void app_cleanup();
bool app_init(int argc, char **argv);
void app_cleanup();
@@
-15,6
+23,9
@@
void app_mouse_button(int bn, bool pressed, int x, int y);
void app_mouse_motion(int x, int y);
// the following functions are implemented by the window system backend
void app_mouse_motion(int x, int y);
// the following functions are implemented by the window system backend
+void app_resize(int x, int y);
+void app_fullscreen(bool fs);
+void app_quit();
void app_redraw();
void app_swap_buffers();
long app_get_msec();
void app_redraw();
void app_swap_buffers();
long app_get_msec();