Make some edits.
This commit is contained in:
parent
7f0415954c
commit
3b5a789333
|
@ -5,7 +5,7 @@
|
|||
[ludus.scanner :as s]))
|
||||
|
||||
(def source
|
||||
"(1 2)
|
||||
"(1, 2)
|
||||
"
|
||||
)
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
heading (:heading prev)
|
||||
unit (heading->vec heading)
|
||||
move (scale unit steps)
|
||||
curr (update prev :postion #(add % move))]
|
||||
curr (update prev :postion #(add % move))]
|
||||
(swap! path #(conj % curr))))
|
||||
|
||||
(defn back [steps] (forward (* -1 steps)))
|
Loading…
Reference in New Issue
Block a user