Add plane clipping to the triangle drawer
This commit is contained in:
parent
8bbb63e913
commit
c37ce1fdbc
19 changed files with 146 additions and 99 deletions
|
|
@ -177,7 +177,7 @@ bool PolyCull::CheckBBox(float *bspcoord)
|
|||
|
||||
// Skip if its in front of the portal:
|
||||
|
||||
if (PortalClipPlane != Vec4f(0.0f) && IntersectionTest::plane_aabb(PortalClipPlane, aabb) == IntersectionTest::outside)
|
||||
if (IntersectionTest::plane_aabb(PortalClipPlane, aabb) == IntersectionTest::outside)
|
||||
return false;
|
||||
|
||||
// Occlusion test using solid segments:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue