rotated.set(1, 1, 1); worker.setIdentity().applyRotationX(MathUtils.QUARTER_PI).apply(expected, expected); worker.setIdentity().applyRotation(MathUtils.QUARTER_PI, 1, 0, 0).apply(rotated, rotated); assertTrue(rotated.distance(expected) <= MathUtils.EPSILON); rotated.set(1, 1, 1); worker.setIdentity().applyRotationY(MathUtils.QUARTER_PI).apply(expected, expected); worker.setIdentity().applyRotation(MathUtils.QUARTER_PI, 0, 1, 0).apply(rotated, rotated); assertTrue(rotated.distance(expected) <= MathUtils.EPSILON); rotated.set(1, 1, 1); worker.setIdentity().applyRotationZ(MathUtils.QUARTER_PI).apply(expected, expected); worker.setIdentity().applyRotation(MathUtils.QUARTER_PI, 0, 0, 1).apply(rotated, rotated); assertTrue(rotated.distance(expected) <= MathUtils.EPSILON); worker.applyRotation(0, 0, 0, 0); assertEquals(quat, worker);