diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-20 03:00:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-20 05:02:59 +0400 |
commit | ea58918171e7135e146e6bb90d988908d7c1540f (patch) | |
tree | e87ce0f4ddcedee7e4354c2335eb9a08bf1fab39 /source/blender/editors/include/ED_view3d.h | |
parent | 5fb72b7ee55358f92fe965e5dae5de971c62bff8 (diff) |
NDOF: define 2 default navigation modes: free & orbit
After some discussion it seems both are valid defaults but useful for
very different purposes.
- 'free' lets you explore the scene with full 6dof (like fly mode)
- 'orbit' is closer to typical mouse view orbit, constraining to orbiting about a central location.
This doesn't effect orbit/pan which are available with modifier keys.
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 8fce5e7e7c0..a42b352ad51 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -335,6 +335,7 @@ void ED_view3D_background_image_clear(struct View3D *v3d); #define VIEW3D_MARGIN 1.4f #define VIEW3D_DIST_FALLBACK 1.0f float ED_view3d_offset_distance(float mat[4][4], const float ofs[3], const float dist_fallback); +void ED_view3d_distance_set(struct RegionView3D *rv3d, const float dist); float ED_scene_grid_scale(struct Scene *scene, const char **grid_unit); float ED_view3d_grid_scale(struct Scene *scene, struct View3D *v3d, const char **grid_unit); |