updated curve test to consider no re-positioning
This commit is contained in:
parent
ab52cd3199
commit
b0404fc183
1 changed files with 1 additions and 1 deletions
|
|
@ -590,7 +590,7 @@ namespace MatterControl.Tests.MatterControl
|
||||||
var curveAabb = curve.GetAxisAlignedBoundingBox();
|
var curveAabb = curve.GetAxisAlignedBoundingBox();
|
||||||
root.Children.Add(curve);
|
root.Children.Add(curve);
|
||||||
var rootAabb = root.GetAxisAlignedBoundingBox();
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue