Update to wagyu-0.2.1 (eec53a6)

This commit is contained in:
Eric Fischer
2016-12-14 14:14:55 -08:00
parent b3c116b989
commit 275d25739d
6 changed files with 15 additions and 9 deletions
+2 -1
View File
@@ -79,10 +79,11 @@ bool build_edge_list(mapbox::geometry::linear_ring<T> const& path_geometry, edge
// Find next non repeated point going backwards from
// end for pt1
while (pt1 == pt2) {
pt1 = *(++itr_rev);
++itr_rev;
if (itr_rev == path_geometry.rend()) {
return false;
}
pt1 = *itr_rev;
}
++itr;
mapbox::geometry::point<value_type> pt3 = *itr;