Localizations refactor (#14254)

This commit is contained in:
Ian Bassi
2026-06-18 09:13:51 -03:00
committed by GitHub
parent d7688a27d0
commit 514ab02525
120 changed files with 76499 additions and 183933 deletions

View File

@@ -1025,7 +1025,7 @@ void mark_boundary_segments_touching_infill(
#endif // INFILL_DEBUG_OUTPUT
EdgeGrid::Grid grid;
// Make sure that the the grid is big enough for queries against the thick segment.
// Make sure that the grid is big enough for queries against the thick segment.
grid.set_bbox(boundary_bbox.inflated(distance_colliding * 1.43));
// Inflate the bounding box by a thick line width.
grid.create(boundary, coord_t(std::max(clip_distance, distance_colliding) + scale_(10.)));

View File

@@ -2318,7 +2318,7 @@ static std::vector<MonotonicRegionLink> chain_monotonic_regions(
constexpr float const pheromone_evaporation = 0.1f;
// Evaporation rate to diversify paths taken by individual ants.
constexpr float const pheromone_diversification = 0.1f;
// Probability at which to take the next best path. Otherwise take the the path based on the cost distribution.
// Probability at which to take the next best path. Otherwise take the path based on the cost distribution.
constexpr float const probability_take_best = 0.9f;
// Exponents of the cost function.
constexpr float const pheromone_alpha = 1.f; // pheromone exponent