Physics/Geom: Fix compilation
Former-commit-id: 4085b052dd8ed936a38867a06b3626f3c54c6c78
This commit is contained in:
parent
4a87481311
commit
847aa234c6
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue