mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-25 01:49:22 -07:00
Refactoring: prefix inc/dec operators for iterators
This commit is contained in:
committed by
Alessandro Ranellucci
parent
06913cc8b8
commit
f2c4a66e45
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user