summaryrefslogtreecommitdiffstats
path: root/core/math/bvh_abb.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/bvh_abb.h')
-rw-r--r--core/math/bvh_abb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/bvh_abb.h b/core/math/bvh_abb.h
index cec3dc90db..3d32c250c9 100644
--- a/core/math/bvh_abb.h
+++ b/core/math/bvh_abb.h
@@ -258,7 +258,7 @@ struct BVH_ABB {
}
// Actually surface area metric.
- float get_area() const {
+ real_t get_area() const {
POINT d = calculate_size();
return 2.0f * (d.x * d.y + d.y * d.z + d.z * d.x);
}