From 56f794fce60f6e3681b8445403d4826371b3b365 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 7 Mar 2015 00:25:27 +1100 Subject: Cleanup: de-duplicate view3d clipping --- source/blender/editors/include/ED_view3d.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/include') 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); -- cgit v1.2.3