Improved opposite handler management

This commit is contained in:
alonso.torres 2020-11-26 10:50:24 +01:00
parent 89f0f24707
commit f8cf7103ca
3 changed files with 44 additions and 34 deletions

View file

@ -368,7 +368,7 @@
calculate-vector
(fn [point next prev]
(let [base-vector (if (or (nil? next) (nil? prev))
(let [base-vector (if (or (nil? next) (nil? prev) (= next prev))
(-> (gpt/to-vec point (or next prev))
(gpt/normal-left))
(gpt/to-vec next prev))]