Skip to content

Commit 8f6ed98

Browse files
authored
fix typo at bvh_node
class 'bvh_node' constructor parameter name error.
1 parent 6d457a4 commit 8f6ed98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

books/RayTracingTheNextWeek.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@
973973
...
974974

975975
bvh_node::bvh_node(
976-
std::vector<shared_ptr<hittable>>& objects,
976+
std::vector<shared_ptr<hittable>>& src_objects,
977977
size_t start, size_t end, double time0, double time1
978978
) {
979979
auto objects = src_objects; // Create a modifiable array of the source scene objects

0 commit comments

Comments
 (0)