-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I was messing around with PointOctree and found some issues by trying to remove a point in some specific location, I guess is some round stuff related.
The test below fails in the i = 50 with the vector <25. 25. 25>
[Fact]
public void RemoveTest2()
{
var size = 0.5f;
// Add points.
for (int i = 1; i < 100; ++i)
_octree.Add(i, new Vector3(size * i));
// Should remove geometries based on object and bounding box
for (int i = 1; i < 100; ++i)
{
_octree.Remove(i, new Vector3(size * i))
.ShouldBeTrue($"{i} {new Vector3(size * i)}"); // Fail in 50 <25. 25. 25>
}
_octree.Count.ShouldBe(0);
}Metadata
Metadata
Assignees
Labels
No labels