mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-22 12:11:17 +00:00
- fix triangulation issue with certain doors in Blood.
This commit is contained in:
parent
e5c9691166
commit
85e0198b65
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ static int CheckForRightSplice( TESStesselator *tess, ActiveRegion *regUp )
|
||||||
SpliceMergeVertices( tess, eLo->Oprev, eUp );
|
SpliceMergeVertices( tess, eLo->Oprev, eUp );
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if( EdgeSign( eUp->Dst, eLo->Org, eUp->Org ) <= 0 ) return FALSE;
|
if( EdgeSign( eUp->Dst, eLo->Org, eUp->Org ) < 0 ) return FALSE;
|
||||||
|
|
||||||
/* eLo->Org appears to be above eUp, so splice eLo->Org into eUp */
|
/* eLo->Org appears to be above eUp, so splice eLo->Org into eUp */
|
||||||
RegionAbove(regUp)->dirty = regUp->dirty = TRUE;
|
RegionAbove(regUp)->dirty = regUp->dirty = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue