From 847aa234c6023a950e83777b0617106d22221ad3 Mon Sep 17 00:00:00 2001 From: Lynix Date: Sun, 31 May 2015 22:14:00 +0200 Subject: [PATCH] Physics/Geom: Fix compilation Former-commit-id: 4085b052dd8ed936a38867a06b3626f3c54c6c78 --- src/Nazara/Physics/Geom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);