diff options
author | Thomas Dinges <blender@dingto.org> | 2014-02-14 04:15:07 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-02-14 04:17:01 +0400 |
commit | b09684567e6029211cbbe06e93209989bb5fc804 (patch) | |
tree | 89e8e2cc1ae62895c07dcbfbabeec43136680211 /intern/cycles/util/util_view.h | |
parent | 5621e63d36c525f6acd744e2ddae3a73f2c3b453 (diff) |
Cycles Standalone: The camera can now be moved and rotated with LMB/RMB mouse key.
ToDo: Add controls for forward/backward movement.
Diffstat (limited to 'intern/cycles/util/util_view.h')
-rw-r--r-- | intern/cycles/util/util_view.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/util/util_view.h b/intern/cycles/util/util_view.h index a0d0d492790..65d890eb6af 100644 --- a/intern/cycles/util/util_view.h +++ b/intern/cycles/util/util_view.h @@ -27,11 +27,12 @@ typedef void (*ViewExitFunc)(void); typedef void (*ViewResizeFunc)(int width, int height); typedef void (*ViewDisplayFunc)(void); typedef void (*ViewKeyboardFunc)(unsigned char key); +typedef void (*ViewMotionFunc)(int x, int y, int button); void view_main_loop(const char *title, int width, int height, ViewInitFunc initf, ViewExitFunc exitf, ViewResizeFunc resize, ViewDisplayFunc display, - ViewKeyboardFunc keyboard); + ViewKeyboardFunc keyboard, ViewMotionFunc motion); void view_display_info(const char *info); void view_display_help(); |