Llkely to be entirely replaced by the animation system, or mostly moved into math.
Llkely to be entirely replaced by the animation system, or mostly moved into math.
(update-position-2d object target)
(update-position-2d {:keys [translation] :as object} [tx ty] step)
(wrap-update-active-global-modes update-fn active-global-modes)
Wrap the supplied update-fn
with a function
that will only update if the system is in a global mode
that is in the supplied active-global-modes
set.
This can be used to implement pause functionality.
Wrap the supplied `update-fn` with a function that will only update if the system is in a global mode that is in the supplied `active-global-modes` set. This can be used to implement pause functionality.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close