diff options
author | Hans Goudey <h.goudey@me.com> | 2022-05-13 20:13:31 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-05-13 20:13:43 +0300 |
commit | c2bbd01b2fb0df665102b8dbf14cdc562d37b617 (patch) | |
tree | db12dfa8aea34bc38cd58281ef076630c82b7809 /source/blender/editors/include/ED_view3d.h | |
parent | 7c9b6cc3802982bfb7a13aed37d4a032d9166fbc (diff) |
Cleanup: Use const arguments
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 414643dd0d6..48bd86027f9 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -700,9 +700,9 @@ void ED_view3d_win_to_vector(const struct ARegion *region, const float mval[2], * \param do_clip_planes: Optionally clip the ray by the view clipping planes. * \return success, false if the segment is totally clipped. */ -bool ED_view3d_win_to_segment_clipped(struct Depsgraph *depsgraph, +bool ED_view3d_win_to_segment_clipped(const struct Depsgraph *depsgraph, const struct ARegion *region, - struct View3D *v3d, + const struct View3D *v3d, const float mval[2], float r_ray_start[3], float r_ray_end[3], @@ -733,7 +733,7 @@ void ED_view3d_dist_range_get(const struct View3D *v3d, float r_dist_range[2]); /** * \note copies logic of #ED_view3d_viewplane_get(), keep in sync. */ -bool ED_view3d_clip_range_get(struct Depsgraph *depsgraph, +bool ED_view3d_clip_range_get(const struct Depsgraph *depsgraph, const struct View3D *v3d, const struct RegionView3D *rv3d, float *r_clipsta, |