Load, bind and draw geometry data in WebGL.
const Geometry = require('kindred-geometry')
const shader = require('./some-shader')
const icosphere = require('icosphere')
const bunny = require('bunny')
const geom = Geometry(icosphere(2))
.attrFaceNormals('hardNormal')
.attrVertNormals('softNormal')
function render () {
geom.bind(gl, shader.attributes)
geom.draw(gl)
}
MIT. See LICENSE.md for details.