src/engine.js
/**
   * Draw a single frame, with a specified time since last draw
   * @param  {Number} delta Time since last render
   * @return {void}
   */
Draw a single frame, with a specified time since last draw
@param  {Number} delta Time since last render
@return {void}
Draw a single frame with a specified time since last draw @param { Number } delta Time since last render @return { void }
draw(delta) {
    var gl = this.gl;
    gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
    resetGL(gl);
    this.objectRenderer.render();
    this.objectRenderer.updateTime(delta);
    this.camera.updateTime(delta);
  }
draw ( delta ) { var gl = this . gl ; gl . clear ( gl . COLOR_BUFFER_BIT | gl . DEPTH_BUFFER_BIT ) ; resetGL ( gl ) ; this . objectRenderer . render ( ) ; this . objectRenderer . updateTime ( delta ) ; this . camera . updateTime ( delta ) ; }
Draw a single frame, with a specified time since last draw
 @param  {Number} delta Time since last render
 @return {void}
Draw a single frame with a specified time since last draw @param { Number } delta Time since last render @return { void }
// default setup stuff: //gl.enable(gl.BLEND); //gl.depthMask(false); // render passes: // run animations