FIX: regular vertical texture on fuzzy skin outlook

Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I27a7596290ecdb741f2ede084093b6eee1ac49c5
This commit is contained in:
qing.zhang 2024-09-04 10:41:40 +08:00 committed by Lane.Wei
parent 777c16fef0
commit 4ed1cd9cb9
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ static void fuzzy_polygon(Polygon &poly, double fuzzy_skin_thickness, double fuz
double r = random_value() * (fuzzy_skin_thickness * 2.) - fuzzy_skin_thickness;
out.emplace_back(*p0 + (p0p1 * (p0pa_dist / p0p1_size) + perp(p0p1).cast<double>().normalized() * r).cast<coord_t>());
}
dist_left_over = p0p1_size - p0pa_dist;
dist_left_over = p0pa_dist - p0p1_size;
p0 = &p1;
}
while (out.size() < 3) {