diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2022-09-01 00:04:48 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2022-09-01 00:04:48 +0200 |
| commit | 76a1e5b39825e2aa26d7d6625879dab63b3dadb6 (patch) | |
| tree | 109b1b1f4dc8274eb47b4fb96b4d86db50f22f8b /include/bvh.hpp | |
| parent | 8b8b3c8aaa859ceff95e82e26b81410688613cd7 (diff) | |
Fix bvh generation
Diffstat (limited to 'include/bvh.hpp')
| -rw-r--r-- | include/bvh.hpp | 2 |
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
};
|
