fixes issue where ego disappears.
This commit is contained in:
@@ -83,7 +83,9 @@
|
||||
(pixmap! :get-pixel x (- 240 y))
|
||||
color
|
||||
(.r))]
|
||||
(+ (* percent-complete (- maximum-size minimum-size)) minimum-size)))))
|
||||
(if (< y 0)
|
||||
maximum-size
|
||||
(+ (* percent-complete (- maximum-size minimum-size)) minimum-size))))))
|
||||
|
||||
(defn dist [x1 y1 x2 y2 & {:keys [y-sign x-sign]}]
|
||||
(let [y-sign (or y-sign 1.0)
|
||||
|
||||
Reference in New Issue
Block a user