Physics/Geom: Fix compilation

Former-commit-id: 4085b052dd8ed936a38867a06b3626f3c54c6c78
This commit is contained in:
Lynix 2015-05-31 22:14:00 +02:00
parent 4a87481311
commit 847aa234c6
1 changed files with 1 additions and 1 deletions

View File

@ -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);