forked from mirror/DotRecast
bufix - imax - imin
This commit is contained in:
parent
1434a61ce9
commit
62d23e34ab
|
@ -126,7 +126,7 @@ public class ChunkyTriMesh
|
||||||
|
|
||||||
if (axis == 0)
|
if (axis == 0)
|
||||||
{
|
{
|
||||||
Array.Sort(items, imin, imax - imax, new CompareItemX());
|
Array.Sort(items, imin, imax - imin, new CompareItemX());
|
||||||
// Sort along x-axis
|
// Sort along x-axis
|
||||||
}
|
}
|
||||||
else if (axis == 1)
|
else if (axis == 1)
|
||||||
|
|
Loading…
Reference in New Issue