diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-06-04 18:33:25 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-06-04 18:33:34 +0300 |
commit | 101c277e3d8241ad55f6343690b5d96a5e37d1f0 (patch) | |
tree | d5fa83446648b942d06eb0016e42aef8a5c1ae6b /source/blender/draw/intern/DRW_render.h | |
parent | 349d416949d89b0428abf18e8d3b490470c9601d (diff) |
Workbench: Shadows: Fix cap being clipped by far plane.
This was the last remaining problem with shadow volumes (that I know of).
Only extrude until we hit the far plane.
Diffstat (limited to 'source/blender/draw/intern/DRW_render.h')
-rw-r--r-- | source/blender/draw/intern/DRW_render.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/DRW_render.h b/source/blender/draw/intern/DRW_render.h index 081bae944d8..935a6d362f1 100644 --- a/source/blender/draw/intern/DRW_render.h +++ b/source/blender/draw/intern/DRW_render.h @@ -506,6 +506,7 @@ bool DRW_culling_box_test(BoundBox *bbox); bool DRW_culling_plane_test(float plane[4]); void DRW_culling_frustum_corners_get(BoundBox *corners); +void DRW_culling_frustum_planes_get(float planes[6][4]); /* Selection */ void DRW_select_load_id(uint id); |