(init-window window)
(init-window width height title)
Creates a window based on the canvas size. Alternatively, also accepts an already existing window.
Creates a window based on the canvas size. Alternatively, also accepts an already existing window.
(within? coord x y)
Checks wheter the point (x y) is within the given coord coord - vector [x-coord y-coord width height] x - x-coord of point to check y - y-coord of point to check
Checks wheter the point (x y) is within the given coord coord - vector [x-coord y-coord width height] x - x-coord of point to check y - y-coord of point to check
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close