(apply spec cam)
Takes a GL model spec map & camera, injects :view & :proj uniforms into spec.
Takes a GL model spec map & camera, injects :view & :proj uniforms into spec.
(update-keys m ks opts)
Takes a map m, key seq and map of new vals, replaces keys in m with new vals. If a value in opts map is a function, applies fn to value of key in original map.
Takes a map m, key seq and map of new vals, replaces keys in m with new vals. If a value in opts map is a function, applies fn to value of key in original map.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close