Fix regression caused by change to front face polygon culling (#1820)

* fix regression with facing view

Only the check for a polygon being counter-clockwise is supposed to be <=

* only use dot < 0 for 'cull front face' polygons

this is the fix.
This commit is contained in:
Jaklyy 2023-11-07 15:22:25 -05:00 committed by GitHub
parent 24a33e505e
commit b4ff911fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1070,7 +1070,7 @@ void SubmitPolygon()
bool facingview = (dot <= 0);
if (facingview)
if (dot < 0)
{
if (!(CurPolygonAttr & (1<<7)))
{