mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 05:45:38 +00:00
Only need to clip against 4 planes for poly culling
This commit is contained in:
parent
605dad2c02
commit
d711afade1
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue