// Rotation from up 0,-1,0 to up 0,-1,0
@Test
public void testReorientMinusY2MinusY() {
Gml gml = createGml();
gml.environment.up = new Vec3D(0, -1, 0);
AABB aabb = AABB.fromMinMax(new Vec3D(0.1f, 0.35f, 0.25f), new Vec3D(0.85f, 0.95f, 0.7f));
GmlUtils.reorient(gml, true);
LOGGER.log(Level.FINEST, "testMinusY2MinusY "+gml.getBoundingBox().getMin()+ " / " +gml.getBoundingBox().getMax());
LOGGER.log(Level.FINEST, "Expected :"+aabb.getMin()+ " / "+ aabb.getMax());
// Check min-max bounding box
assertTrue("y=-1 to y=-1", aabb.equalsWithTolerance(gml.getBoundingBox(), 0.0000001f));
assertTrue("up vector", gml.environment.up.equals(new Vec3D(0, -1, 0)));
}