diff options
author | reduz <reduzio@gmail.com> | 2020-12-24 12:18:28 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2020-12-24 12:18:28 -0300 |
commit | 1bebb2ba057a8baa2f560362142bae5123b962af (patch) | |
tree | c0588fd7cf9d58252f3d87a186a4e44f35bc6bb9 /core/math/dynamic_bvh.h | |
parent | 4d9b95f3a88ab5a225514d503cbf06926840ab02 (diff) |
Cull fixes and optimizations
Diffstat (limited to 'core/math/dynamic_bvh.h')
-rw-r--r-- | core/math/dynamic_bvh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/dynamic_bvh.h b/core/math/dynamic_bvh.h index cdea51c674..968badc093 100644 --- a/core/math/dynamic_bvh.h +++ b/core/math/dynamic_bvh.h @@ -281,7 +281,7 @@ public: void optimize_top_down(int bu_threshold = 128); void optimize_incremental(int passes); ID insert(const AABB &p_box, void *p_userdata); - void update(const ID &p_id, const AABB &p_box); + bool update(const ID &p_id, const AABB &p_box); void remove(const ID &p_id); void get_elements(List<ID> *r_elements); |