Liking cljdoc? Tell your friends :D

clunk.collision

Group-based sprite collision tools and sprite collision detection predicates.

The predicate functions in this namespace apply to sprites if they are named <foo>? and apply to geometric data structures (lines, rectangles, polygons etc.) if they are names <foo>?*.

Group-based sprite collision tools and sprite collision detection
predicates.

The predicate functions in this namespace apply to sprites if they
are named `<foo>?` and apply to geometric data structures (lines,
rectangles, polygons etc.) if they are names `<foo>?*`. 
raw docstring

clunk.shape

These side-effecting functions draw various shapes to the game window.

Positions (pos) are [x y] vectors, so are dimensions (size).

Polygons (poly) are a vector of [x y] point vectors which are relative to the pos.

Colors are [r g b a] vectors.

These side-effecting functions draw various shapes to the game
window.

Positions (`pos`) are `[x y]` vectors, so are
dimensions (`size`).

Polygons (`poly`) are a vector of `[x y]` point vectors which are
relative to the `pos`.

Colors are `[r g b a]` vectors.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close