fix octree test failing due to random collision
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2024-09-12 15:39:00 -04:00
parent ed29d1ffb3
commit 42bc5d38b9

View File

@ -279,7 +279,9 @@ public class RealOctreeTests {
rand.nextInt(0, 256),
rand.nextInt(0, 256)
);
octree.addLeaf(loc, i);
if(!octree.containsLeaf(loc)){
octree.addLeaf(loc, i);
}
}
//