fix octree test failing due to random collision
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
ed29d1ffb3
commit
42bc5d38b9
@ -279,7 +279,9 @@ public class RealOctreeTests {
|
|||||||
rand.nextInt(0, 256),
|
rand.nextInt(0, 256),
|
||||||
rand.nextInt(0, 256)
|
rand.nextInt(0, 256)
|
||||||
);
|
);
|
||||||
octree.addLeaf(loc, i);
|
if(!octree.containsLeaf(loc)){
|
||||||
|
octree.addLeaf(loc, i);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user