Liking cljdoc? Tell your friends :D

thi.ng.geom.gl.camera


applyclj/s

(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.
sourceraw docstring

perspective-cameraclj/s

(perspective-camera opts)
source

set-projectionclj/s

(set-projection cam opts)
source

set-viewclj/s

(set-view cam opts)
source

update-keysclj/s

(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.
sourceraw docstring

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

× close