Cleanup: de-duplicate 3D-view depth calculation function
This commit is contained in:
@@ -366,6 +366,8 @@ float ED_view3d_pixel_size(const struct RegionView3D *rv3d, const float co[3]);
|
||||
float ED_view3d_pixel_size_no_ui_scale(const struct RegionView3D *rv3d, const float co[3]);
|
||||
|
||||
float ED_view3d_calc_zfac(const struct RegionView3D *rv3d, const float co[3], bool *r_flip);
|
||||
float ED_view3d_calc_depth_for_comparison(const struct RegionView3D *rv3d, const float co[3]);
|
||||
|
||||
bool ED_view3d_clip_segment(const struct RegionView3D *rv3d, float ray_start[3], float ray_end[3]);
|
||||
bool ED_view3d_win_to_ray_clipped(struct Depsgraph *depsgraph,
|
||||
const struct ARegion *region,
|
||||
|
||||
Reference in New Issue
Block a user