From 21441ebcf4694cf61232e6ea2adacea3166ec9e1 Mon Sep 17 00:00:00 2001 From: thingsapart Date: Mon, 15 Jul 2024 17:35:38 -0700 Subject: [PATCH] Fix indent --- src/geo/polygon.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/geo/polygon.js b/src/geo/polygon.js index 4039ed6b..2f1b684c 100644 --- a/src/geo/polygon.js +++ b/src/geo/polygon.js @@ -1165,13 +1165,13 @@ class Polygon { let deltaZFullMove = dist2next * slope; if (deltaZFullMove > deltaZ) { - // 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 - // intersect at the target Z distance. - fn(last.followTo(next, dist2next * deltaZ / deltaZFullMove).setZ(next.z), offset++); + // 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 + // intersect at the target Z distance. + fn(last.followTo(next, dist2next * deltaZ / deltaZFullMove).setZ(next.z), offset++); } else { - next = next.clone().setZ(fromZ - deltaZFullMove); + next = next.clone().setZ(fromZ - deltaZFullMove); } fromZ = next.z;