bugfix: minor typo caused stack overrun when several vertices happen to fall exactly on cell boundaries
This commit is contained in:
parent
98f2f02c2b
commit
b4204ba9a2
@ -200,7 +200,7 @@ static void dividePoly(const float* in, int nbIn,
|
|||||||
out1[m*3+1] = in[i*3+1];
|
out1[m*3+1] = in[i*3+1];
|
||||||
out1[m*3+2] = in[i*3+2];
|
out1[m*3+2] = in[i*3+2];
|
||||||
m++;
|
m++;
|
||||||
if (d[0] != 0) // not on the line
|
if (d[i] != 0) // not on the line
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user