rotateWorld method
Implementation
void rotateWorld(double degrees) {
final double a = this.a, b = this.b, c = this.c, d = this.d;
final double cos = MathUtils.cosDeg(degrees),
sin = MathUtils.sinDeg(degrees);
this.a = cos * a - sin * c;
this.b = cos * b - sin * d;
this.c = sin * a + cos * c;
this.d = sin * b + cos * d;
appliedValid = false;
}