Make curve test work now that we add geometry during curve

This commit is contained in:
Lars Brubaker 2019-04-15 14:56:33 -07:00
parent 60a58ea8b9
commit 631b0151c7

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, -6.45, -10), new Vector3(17.5, 11.97, 10)), 1.0));
Assert.IsTrue(rootAabb.Equals(new AxisAlignedBoundingBox(new Vector3(-17.5, -8.5, -10), new Vector3(17.5, 11.97, 10)), 1.0));
}
}
}