lib/buffer.js
function update (data) {
    this.bind()
    this.length = data.length
    this.byteLength = this.length * data.BYTES_PER_ELEMENT
    this.gl.bufferData(this.type, data, this.usage)
  }
function update (data) {
    this.bind()
    this.length = data.length
    this.byteLength = this.length * data.BYTES_PER_ELEMENT
    this.gl.bufferData(this.type, data, this.usage)
  }
function update ( data ) { this . bind ( ) this . length = data . length this . byteLength = this . length * data . BYTES_PER_ELEMENT this . gl . bufferData ( this . type , data , this . usage ) }
since this is mostly internal, we will KISS and just stick to typed arrays
since this is mostly internal we will KISS and just stick to typed arrays