diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-01-23 04:13:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-01-23 04:14:26 +0300 |
commit | 1443235aa4e876152940a2b0c07054179487c129 (patch) | |
tree | 755a6e2e5d67cbbc7befb4db8a70de2a95dfcca9 /source/blender/editors/include/ED_view3d.h | |
parent | bf7e4067663cec0a3b4d3194e89a28aa62b39773 (diff) |
Cleanup: sync w/ blender2.8 branch
Also make some args const
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 2cc928117c5..36af7e7e92e 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -264,8 +264,9 @@ void ED_view3d_calc_camera_border_size( const struct Scene *scene, const struct ARegion *ar, const struct View3D *v3d, const struct RegionView3D *rv3d, float r_size[2]); -bool ED_view3d_calc_render_border(struct Scene *scene, struct View3D *v3d, - struct ARegion *ar, struct rcti *rect); +bool ED_view3d_calc_render_border( + const struct Scene *scene, const struct View3D *v3d, + const struct ARegion *ar, struct rcti *rect); void ED_view3d_clipping_calc_from_boundbox(float clip[6][4], const struct BoundBox *clipbb, const bool is_flip); void ED_view3d_clipping_calc(struct BoundBox *bb, float planes[4][4], struct bglMats *mats, const struct rcti *rect); |