Fix indent
This commit is contained in:
parent
d3eb573ae9
commit
21441ebcf4
1 changed files with 6 additions and 6 deletions
|
|
@ -1165,13 +1165,13 @@ class Polygon {
|
||||||
let deltaZFullMove = dist2next * slope;
|
let deltaZFullMove = dist2next * slope;
|
||||||
|
|
||||||
if (deltaZFullMove > deltaZ) {
|
if (deltaZFullMove > deltaZ) {
|
||||||
// Too long: easing along full path would overshoot depth, synth intermediate point at target Z.
|
// Too long: easing along full path would overshoot depth, synth intermediate point at target Z.
|
||||||
//
|
//
|
||||||
// XXX: please check my super basic trig - this should follow from `last` to `next` up until the
|
// XXX: please check my super basic trig - this should follow from `last` to `next` up until the
|
||||||
// intersect at the target Z distance.
|
// intersect at the target Z distance.
|
||||||
fn(last.followTo(next, dist2next * deltaZ / deltaZFullMove).setZ(next.z), offset++);
|
fn(last.followTo(next, dist2next * deltaZ / deltaZFullMove).setZ(next.z), offset++);
|
||||||
} else {
|
} else {
|
||||||
next = next.clone().setZ(fromZ - deltaZFullMove);
|
next = next.clone().setZ(fromZ - deltaZFullMove);
|
||||||
}
|
}
|
||||||
|
|
||||||
fromZ = next.z;
|
fromZ = next.z;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue