m.identity();
m.rotateZ(MathUtils.HALF_PI);
v = m.applyTo(new Vec3D(1, 0, 0));
assertTrue(new Vec3D(0, 1, 0).equalsWithTolerance(v, 0.00001f));
m.identity();
m.rotateAroundAxis(new Vec3D(0, 1, 0), MathUtils.HALF_PI);
v = m.applyTo(new Vec3D(1, 0, 0));
assertTrue(new Vec3D(0, 0, 1).equalsWithTolerance(v, 0.00001f));
}
public void testTranslate() {