fix over zero cycling
This commit is contained in:
parent
e8d8ec1990
commit
13b1ef0075
1 changed files with 1 additions and 1 deletions
|
@ -2111,7 +2111,7 @@ priv::ProjectionDistances priv::choose_best_distance(
|
||||||
// Negative iteration inside polygon
|
// Negative iteration inside polygon
|
||||||
do {
|
do {
|
||||||
uint32_t nxt_index = (act_index == first_index) ?
|
uint32_t nxt_index = (act_index == first_index) ?
|
||||||
last_index : (act_index - 1);
|
(last_index-1) : (act_index - 1);
|
||||||
// When iterate negative it must be split to parts
|
// When iterate negative it must be split to parts
|
||||||
// and can't iterate in circle
|
// and can't iterate in circle
|
||||||
assert(nxt_index != index);
|
assert(nxt_index != index);
|
||||||
|
|
Loading…
Add table
Reference in a new issue