diff --git a/src/Nazara/Physics/Geom.cpp b/src/Nazara/Physics/Geom.cpp index 188df7d25..3d799d117 100644 --- a/src/Nazara/Physics/Geom.cpp +++ b/src/Nazara/Physics/Geom.cpp @@ -400,7 +400,7 @@ m_radius(radius) NzBoxf NzSphereGeom::ComputeAABB(const NzMatrix4f& offsetMatrix, const NzVector3f& scale) const { - NzVector3f size(m_radius * M_SQRT3 * scale); + NzVector3f size(m_radius * NazaraSuffixMacro(M_SQRT3, f) * scale); NzVector3f position(offsetMatrix.GetTranslation()); return NzBoxf(position - size, position + size);