aboutsummaryrefslogtreecommitdiffstats
path: root/include/bvh.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/bvh.hpp')
-rw-r--r--include/bvh.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bvh.hpp b/include/bvh.hpp
index ba847c1..2b66dcb 100644
--- a/include/bvh.hpp
+++ b/include/bvh.hpp
@@ -22,7 +22,7 @@ struct packed_bvh_node {
};
struct temp_node : public bvh_node {
- int32_t left_id;
+ int32_t left_id = -1;
int32_t df_id; // depth firt id
};