diff options
Diffstat (limited to 'core/math/bvh_abb.h')
-rw-r--r-- | core/math/bvh_abb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/bvh_abb.h b/core/math/bvh_abb.h index 32b011bd3b..fb0207e0bd 100644 --- a/core/math/bvh_abb.h +++ b/core/math/bvh_abb.h @@ -87,7 +87,7 @@ struct BVH_ABB { return -neg_max - min; } - POINT calculate_centre() const { + POINT calculate_center() const { return POINT((calculate_size() * 0.5) + min); } |