Liking cljdoc? Tell your friends :D

infinitelives.utils.spatial


add-to-hashcljs

(add-to-hash {:keys [hash divider] :as spatial} entity-key position)
source

add-to-hash-with-hashcljs

(add-to-hash-with-hash {:keys [hash divider] :as spatial}
                       entity-key
                       position
                       key-pos)
source

add-to-spatial!cljs

(add-to-spatial! spatial-keyword entity-key position)
source

all-cellscljs

(all-cells low high)
source

default-dividercljs

source

dissoc-incljs

(dissoc-in m [k & ks :as keys])

Dissociates an entry from a nested associative structure returning a new nested structure. keys is a sequence of keys. Any empty maps that result will not be present in the new structure.

Dissociates an entry from a nested associative structure returning a new
nested structure. keys is a sequence of keys. Any empty maps that result
will not be present in the new structure.
sourceraw docstring

hash-positioncljs

(hash-position divider position)
source

is-inside?cljs

(is-inside? low high pos)
source

make-spatialcljs

(make-spatial divider)
source

move-in-hashcljs

(move-in-hash {:keys [hash divider] :as spatial} entity-key old-pos new-pos)
source

move-in-spatialcljs

(move-in-spatial spatial-keyword entity-key old-pos new-pos)
source

new-spatial!cljs

(new-spatial! spatial-keyword & [divider])
source

querycljs

(query {:keys [hash divider] :as spatial} start-pos end-pos)
source

query-cellscljs

(query-cells {:keys [hash divider] :as spatial} start-cell end-cell)
source

remove-from-hashcljs

(remove-from-hash {:keys [hash divider] :as spatial} entity-key position)
source

remove-from-hash-with-hashcljs

(remove-from-hash-with-hash {:keys [hash divider] :as spatial}
                            entity-key
                            position
                            key-pos)
source

remove-from-spatialcljs

(remove-from-spatial spatial-keyword entity-key position)
source

spatial-hashescljs

source

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

× close