mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-25 21:41:44 +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