setRotationX method
Sets the upper 3x3 to a rotation of radians
around X
Implementation
void setRotationX(double radians) {
final c = math.cos(radians);
final s = math.sin(radians);
_m4storage[0] = 1.0;
_m4storage[1] = 0.0;
_m4storage[2] = 0.0;
_m4storage[4] = 0.0;
_m4storage[5] = c;
_m4storage[6] = s;
_m4storage[8] = 0.0;
_m4storage[9] = -s;
_m4storage[10] = c;
_m4storage[3] = 0.0;
_m4storage[7] = 0.0;
_m4storage[11] = 0.0;
}