rotateX method
Rotate this angle
radians around X
Implementation
void rotateX(double angle) {
final double cosAngle = math.cos(angle);
final double sinAngle = math.sin(angle);
final double t1 = _m4storage[4] * cosAngle + _m4storage[8] * sinAngle;
final double t2 = _m4storage[5] * cosAngle + _m4storage[9] * sinAngle;
final double t3 = _m4storage[6] * cosAngle + _m4storage[10] * sinAngle;
final double t4 = _m4storage[7] * cosAngle + _m4storage[11] * sinAngle;
final double t5 = _m4storage[4] * -sinAngle + _m4storage[8] * cosAngle;
final double t6 = _m4storage[5] * -sinAngle + _m4storage[9] * cosAngle;
final double t7 = _m4storage[6] * -sinAngle + _m4storage[10] * cosAngle;
final double t8 = _m4storage[7] * -sinAngle + _m4storage[11] * cosAngle;
_m4storage[4] = t1;
_m4storage[5] = t2;
_m4storage[6] = t3;
_m4storage[7] = t4;
_m4storage[8] = t5;
_m4storage[9] = t6;
_m4storage[10] = t7;
_m4storage[11] = t8;
}