Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
Scotty3D
Commits
2e7b5053
Unverified
Commit
2e7b5053
authored
Sep 01, 2021
by
Max Slater
Committed by
GitHub
Sep 01, 2021
Browse files
Update bvh.inl
parent
9c555671
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/student/bvh.inl
View file @
2e7b5053
...
...
@@ -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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment