mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-19 04:09:55 -06:00
Fix Incorrect Polygon Swapping Behavior and Implement Correct Rules for Shifting Right Edges Left (#1816)
* fix polygons being swapped incorrectly "borrowed" this from noods needs verification that the >= and <= signs aren't actually supposed to be > and < * proper rules for moving vertical right slopes left * nvm most of that was actually pointless that's on me for not checking
This commit is contained in:
@ -1067,7 +1067,7 @@ void SubmitPolygon()
|
||||
|
||||
dot = ((s64)v1->Position[0] * normalX) + ((s64)v1->Position[1] * normalY) + ((s64)v1->Position[3] * normalZ);
|
||||
|
||||
bool facingview = (dot < 0);
|
||||
bool facingview = (dot <= 0);
|
||||
|
||||
if (facingview)
|
||||
{
|
||||
|
Reference in New Issue
Block a user