updated curve test to consider no re-positioning

This commit is contained in:
Lars Brubaker 2019-03-22 12:27:27 -07:00
parent ab52cd3199
commit b0404fc183

View file

@ -590,7 +590,7 @@ namespace MatterControl.Tests.MatterControl
var curveAabb = curve.GetAxisAlignedBoundingBox();
root.Children.Add(curve);
var rootAabb = root.GetAxisAlignedBoundingBox();
Assert.IsTrue(rootAabb.Equals(new AxisAlignedBoundingBox(new Vector3(-17.5, -9.2, -10), new Vector3(17.5, 9.2, 10)), 1.0));
Assert.IsTrue(rootAabb.Equals(new AxisAlignedBoundingBox(new Vector3(-17.5, -6.45, -10), new Vector3(17.5, 11.97, 10)), 1.0));
}
}
}