Skip to content
Snippets Groups Projects
Unverified Commit 2e7b5053 authored by Max Slater's avatar Max Slater Committed by GitHub
Browse files

Update bvh.inl

parent 9c555671
Branches
No related merge requests found
......@@ -27,7 +27,6 @@ void BVH<Primitive>::build(std::vector<Primitive>&& prims, size_t max_leaf_size)
// to create a new node, don't allocate one yourself - use BVH::new_node, which
// returns the index of a newly added node.
assert(false);
// Keep these
nodes.clear();
primitives = std::move(prims);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment