Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-02-14 04:15:07 +0400
committerThomas Dinges <blender@dingto.org>2014-02-14 04:17:01 +0400
commitb09684567e6029211cbbe06e93209989bb5fc804 (patch)
tree89e8e2cc1ae62895c07dcbfbabeec43136680211 /intern/cycles/util/util_view.h
parent5621e63d36c525f6acd744e2ddae3a73f2c3b453 (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.h3
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();