Only need to clip against 4 planes for poly culling

This commit is contained in:
Ian Curtis 2020-01-04 13:45:55 +00:00
parent 605dad2c02
commit d711afade1

View file

@ -1497,7 +1497,7 @@ void CNew3D::ClipPolygon(ClipPoly& clipPoly, Plane planes[5])
in = &clipPoly;
out = &temp;
for (int i = 0; i < 5; i++) {
for (int i = 0; i < 4; i++) {
//=================
bool currentIn;