From 76a1e5b39825e2aa26d7d6625879dab63b3dadb6 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Thu, 1 Sep 2022 00:04:48 +0200 Subject: Fix bvh generation --- include/bvh.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 }; -- cgit v1.3