mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
Refactoring: prefix inc/dec operators for iterators
This commit is contained in:
parent
06913cc8b8
commit
f2c4a66e45
5 changed files with 30 additions and 30 deletions
|
@ -119,7 +119,7 @@ Polyline::equally_spaced_points(double distance) const
|
|||
double take = segment_length - (len - distance); // how much we take of this segment
|
||||
Line segment(*(it-1), *it);
|
||||
points.push_back(segment.point_at(take));
|
||||
it--;
|
||||
--it;
|
||||
len = -take;
|
||||
}
|
||||
return points;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue