src/drawable.js
/**
   * Update the internal u_modelViewProject uniform
   * by applying world and local transforms to the model
   * matrix.  Then, propagate the new local transform to all the children
   * by way of their world transforms.
   * @return {void}
   */
Update the internal u_modelViewProject uniform
by applying world and local transforms to the model
matrix.  Then, propagate the new local transform to all the children
by way of their world transforms.
@return {void}
Update the internal u_modelViewProject uniform by applying world and local transforms to the model matrix . Then propagate the new local transform to all the children by way of their world transforms . @return { void }
updateMatrix() {
    var translateRotate = mat4.create();
    mat4.fromRotationTranslation(translateRotate, this._rotate, this._translate);
    mat4.scale(this.local, translateRotate, this._scale);
    mat4.multiply(this._model, this.world, this.local);
    mat4.multiply(this.uniforms.u_modelViewProject, this.viewProject, this._model);
    this.children.forEach((child) => {
      child.updateWorld(this._model);
    });
  }
updateMatrix ( ) { var translateRotate = mat4 . create ( ) ; mat4 . fromRotationTranslation ( translateRotate , this . _rotate , this . _translate ) ; mat4 . scale ( this . local , translateRotate , this . _scale ) ; mat4 . multiply ( this . _model , this . world , this . local ) ; mat4 . multiply ( this . uniforms . u_modelViewProject , this . viewProject , this . _model ) ; this . children . forEach ( ( child ) => { child . updateWorld ( this . _model ) ; } ) ; }
Update the internal u_modelViewProject uniform
 by applying world and local transforms to the model
 matrix.
Update the internal u_modelViewProject uniform by applying world and local transforms to the model matrix .