diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-20 05:00:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-20 05:00:02 +0300 |
commit | c9df0ea1474781e97f9e5fdaa84c6643f14cd889 (patch) | |
tree | 75f3e3b9b6bb375989097f3b5f09abfee487c7d6 /source/blender/editors/include/ED_view3d.h | |
parent | de32dc6b275f253348d316077ab8c5f86a85908a (diff) |
3D View: add a simple un-clipped win_to_ray
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 96047b30694..0f8cd7260fd 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -227,6 +227,9 @@ bool ED_view3d_win_to_ray_clipped( bool ED_view3d_win_to_ray_clipped_ex( const struct ARegion *ar, const struct View3D *v3d, const float mval[2], float r_ray_co[3], float r_ray_normal[3], float r_ray_start[3], bool do_clip); +void ED_view3d_win_to_ray( + const struct ARegion *ar, const float mval[2], + float r_ray_start[3], float r_ray_normal[3]); void ED_view3d_global_to_vector(const struct RegionView3D *rv3d, const float coord[3], float vec[3]); void ED_view3d_win_to_3d( const struct View3D *v3d, const struct ARegion *ar, |