mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: fix variable names
XZ -> XY renames.
This commit is contained in:
parent
5c6518a252
commit
79e4e5b51f
@ -395,8 +395,8 @@ static void simplifyContour(rcIntArray& points, rcIntArray& simplified,
|
||||
if (tess)
|
||||
{
|
||||
int dx = bx - ax;
|
||||
int dz = by - ay;
|
||||
if (dx*dx + dz*dz > maxEdgeLen*maxEdgeLen)
|
||||
int dy = by - ay;
|
||||
if (dx*dx + dy*dy > maxEdgeLen*maxEdgeLen)
|
||||
{
|
||||
// Round based on the segments in lexilogical order so that the
|
||||
// max tesselation is consistent regardles in which direction
|
||||
|
Loading…
x
Reference in New Issue
Block a user