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>2018-09-20 05:42:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-20 05:42:00 +0300
commitabe36478c697a2e71fa7e92dc742704b9d583a16 (patch)
tree1bdba4dba701b1b78bf41295fb7886c95c118a75 /source/blender/editors/include/ED_view3d.h
parentc9df0ea1474781e97f9e5fdaa84c6643f14cd889 (diff)
3D View: add clip argument to win_to_3d_on_plane
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r--source/blender/editors/include/ED_view3d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h
index 0f8cd7260fd..c21a6cccb2e 100644
--- a/source/blender/editors/include/ED_view3d.h
+++ b/source/blender/editors/include/ED_view3d.h
@@ -241,11 +241,11 @@ void ED_view3d_win_to_3d_int(
float r_out[3]);
bool ED_view3d_win_to_3d_on_plane(
const struct ARegion *ar,
- const float plane[4], const float mval[2],
+ const float plane[4], const float mval[2], const bool do_clip,
float r_out[3]);
bool ED_view3d_win_to_3d_on_plane_int(
const struct ARegion *ar,
- const float plane[4], const int mval[2],
+ const float plane[4], const int mval[2], const bool do_clip,
float r_out[3]);
void ED_view3d_win_to_delta(const struct ARegion *ar, const float mval[2], float out[3], const float zfac);
void ED_view3d_win_to_origin(const struct ARegion *ar, const float mval[2], float out[3]);