ENH: aligned the z-seam

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I60e1a046fb236d588a5e83b602fabd39580228fb
This commit is contained in:
qing.zhang 2022-12-24 14:31:04 +08:00 committed by Lane.Wei
parent 3a6f033794
commit ad6257ca84
2 changed files with 45 additions and 13 deletions

View file

@ -71,7 +71,7 @@ struct SeamCandidate
SeamCandidate(const Vec3f &pos, Perimeter &perimeter, float local_ccw_angle, EnforcedBlockedSeamPoint type)
: position(pos), perimeter(perimeter), visibility(0.0f), overhang(0.0f), embedded_distance(0.0f), local_ccw_angle(local_ccw_angle), type(type), central_enforcer(false)
{}
const Vec3f position;
Vec3f position;
// pointer to Perimeter loop of this point. It is shared across all points of the loop
Perimeter &perimeter;
float visibility;