asakeron / cljs-webgl

WebGL binding to ClojureScript
109 stars 14 forks source link

Change `draw!` signature #6

Closed asakeron closed 10 years ago

asakeron commented 10 years ago

As discussed in #4, it would be nice to have something like:

(defn draw! 
  [gl & {:keys [shader-program draw-mode first count 
                attributes uniforms element-array] :as opts}]
  ...)
rm-hull commented 10 years ago

Implemented this just so on the feature/learningwebgl branch