assertTrue("scale on y/ aspectRatio.y: ", scaler.equalsWithTolerance(new Vec3D(25, 50, 25), .0000001f));
}
@Test
public void testGetFitInside2DXYDifferentXLarger() {
Vec3D container = new Vec3D(200, 100, 100);
Vec3D aspectRatio = new Vec3D(.3f, 1, .5f);
float ratio = .5f;
Vec3D scaler = Vec3DUtils.getFitInside2DXY(container, aspectRatio, ratio);
assertTrue("scale on y : ", scaler.equalsWithTolerance(new Vec3D(15f, 50, 25), .000001f));
}