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:
authorCampbell Barton <ideasman42@gmail.com>2012-11-30 10:10:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-30 10:10:01 +0400
commit6bb45495d11e6547c847aee59dc86ca28adf472b (patch)
tree81ee3e9a5d77d8fb2cbef5ce85757be566d03eed /source/blender/editors/include/ED_view3d.h
parent7a1dfa298a384b262aa879de8aad648275d6a1ff (diff)
fix for r51636 - making the lens work in ortho mode made view-all and local-view operators give bad zoom levels.
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r--source/blender/editors/include/ED_view3d.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h
index 01a9b4cf74a..269a932dcf5 100644
--- a/source/blender/editors/include/ED_view3d.h
+++ b/source/blender/editors/include/ED_view3d.h
@@ -219,7 +219,9 @@ void ED_view3d_clipping_enable(void);
void ED_view3d_clipping_disable(void);
float ED_view3d_pixel_size(struct RegionView3D *rv3d, const float co[3]);
-float ED_view3d_dist_from_radius(const float angle, const float radius);
+
+float ED_view3d_radius_to_persp_dist(const float angle, const float radius);
+float ED_view3d_radius_to_ortho_dist(const float lens, const float radius);
void drawcircball(int mode, const float cent[3], float rad, float tmat[][4]);