rotate(radianAngle) {
    let cos = Math.cos(-radianAngle),
      sin = Math.sin(-radianAngle);
    this.multiply([
      [cos, sin, 0],
      [-sin, cos, 0],
      [0, 0, 1],
    ]);
    return this;
  }
/**
   * Rotates the current matrix.
   * @param {Number} radianAngle Angle in radians.
   */
Rotates the current matrix.
@param {Number} radianAngle Angle in radians.
Rotates the current matrix . @param { Number } radianAngle Angle in radians .
rotate(radianAngle) {
    let cos = Math.cos(-radianAngle),
      sin = Math.sin(-radianAngle);
    this.multiply([
      [cos, sin, 0],
      [-sin, cos, 0],
      [0, 0, 1],
    ]);
    return this;
  }
rotate ( radianAngle ) { let cos = Math . cos ( - radianAngle ) , sin = Math . sin ( - radianAngle ) ; this . multiply ( [ [ cos , sin , 0 ] , [ - sin , cos , 0 ] , [ 0 , 0 , 1 ] , ] ) ; return this ; }
Rotates the current matrix.
Rotates the current matrix .