Liking cljdoc? Tell your friends :D
Mostly cljs.
Exceptions indicated.

thi.ng.geom.gl.glmesh


gl-meshclj/s

(gl-mesh numf)
(gl-mesh numf attribs)

Builds a fixed size mesh with given face count & attribs (a set of #{:fnorm :vnorm :uv :col}). All attributes (incl. vertices) are stored directly in typed array buffers.

Builds a fixed size mesh with given face count & attribs (a set of
#{:fnorm :vnorm :uv :col}). All attributes (incl. vertices) are
stored directly in typed array buffers.
sourceraw docstring

GLMeshcljs

source

indexed-gl-meshclj/s

(indexed-gl-mesh numf)
(indexed-gl-mesh numf attribs)

Builds a fixed size, indexed mesh with given face count & optional attribs (a set of #{:fnorm :vnorm :uv :col}). All attributes (incl. vertices) are stored directly in typed array buffers. Internally builds index of unique vertices (position + attribs) and re-uses indices where possible.

Builds a fixed size, indexed mesh with given face count & optional
attribs (a set of #{:fnorm :vnorm :uv :col}). All attributes (incl.
vertices) are stored directly in typed array buffers. Internally
builds index of unique vertices (position + attribs) and re-uses
indices where possible.
sourceraw docstring

IndexedGLMeshcljs

source

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

× close