Nixed mirrorAngleOrigin because it's not correct.

The correct way to mirror an angle in [-PI, PI] around the x-axis is simply to
negate it, which doesn't seem ceremonious enough to require a utility method.
This commit is contained in:
Michael Bayne
2013-02-12 17:27:23 -08:00
parent 0a388b65aa
commit fc4cf07ca3
3 changed files with 0 additions and 23 deletions
@@ -30,9 +30,4 @@ public class MathUtilTest
assertEquals(MathUtil.lerpa(3*PI4, -3*PI4, 0.5f), -PI, MathUtil.EPSILON);
}
@Test public void testMirrorAngleOrigin() {
assertEquals(-PI2, MathUtil.mirrorAngleOrigin(PI2), MathUtil.EPSILON);
assertEquals(PI2, MathUtil.mirrorAngleOrigin(-PI2), MathUtil.EPSILON);
}
}