diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-03-06 16:25:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-03-12 15:49:15 +0300 |
commit | 56f794fce60f6e3681b8445403d4826371b3b365 (patch) | |
tree | cae3a535ab16008aa172c59070a8c428e3637051 /source/blender/editors/include/ED_view3d.h | |
parent | 17d96ca2aa0429065991fd0812545a4d4746cc86 (diff) |
Cleanup: de-duplicate view3d clipping
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 5bf077b6293..30f8fb4f922 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -241,6 +241,7 @@ void ED_view3d_calc_camera_border_size(struct Scene *scene, struct ARegion *ar, bool ED_view3d_calc_render_border(struct Scene *scene, struct View3D *v3d, 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); void ED_view3d_clipping_local(struct RegionView3D *rv3d, float mat[4][4]); bool ED_view3d_clipping_test(struct RegionView3D *rv3d, const float co[3], const bool is_local); |