void rotateX(num angle)

Source

void rotateX(num angle) {

  var cos = math.cos(angle);
  var sin = math.sin(angle);
  var m01 = this.m01;
  var m11 = this.m11;
  var m21 = this.m21;
  var m31 = this.m31;
  var m02 = this.m02;
  var m12 = this.m12;
  var m22 = this.m22;
  var m32 = this.m32;

  _data[04] = m01 * cos + m02 * sin;
  _data[05] = m11 * cos + m12 * sin;
  _data[06] = m21 * cos + m22 * sin;
  _data[07] = m31 * cos + m32 * sin;
  _data[08] = m02 * cos - m01 * sin;
  _data[09] = m12 * cos - m11 * sin;
  _data[10] = m22 * cos - m21 * sin;
  _data[11] = m32 * cos - m31 * sin;
}