message: Allow supplying arrays to Buffer.update()
diff: @@ -89,10 +89,14 @@ export class Buffer
  // TODO could explore flagging only a partial upload?
  /**
  * flags this buffer as requiring an upload to the GPU
  - * @param {ArrayBuffer|SharedArrayBuffer|ArrayBufferView} [data] - the data to update in the buffer.
  + * @param {ArrayBuffer|SharedArrayBuffer|ArrayBufferView|number[]} [data] - the data to update in the buffer.
  */
  - update(data?: IArrayBuffer): void
  + update(data?: IArrayBuffer | Array<number>): void
  {
  + if (data instanceof Array)
  + {
  + data = new Float32Array(data);
  + }
  this.data = (data as ITypedArray) || this.data;
  this._updateID++;
  }
  