Separate NAZARA_API into multiple defines (one per module)
To fix inter-module dependency Former-commit-id: 64704f020e0af22e529d38527323ba977187d4d0
This commit is contained in:
@@ -408,7 +408,7 @@ NzBoxf NzSphereGeom::ComputeAABB(const NzMatrix4f& offsetMatrix, const NzVector3
|
||||
|
||||
float NzSphereGeom::ComputeVolume() const
|
||||
{
|
||||
return M_PI * m_radius * m_radius * m_radius / 3.f;
|
||||
return float(M_PI) * m_radius * m_radius * m_radius / 3.f;
|
||||
}
|
||||
|
||||
float NzSphereGeom::GetRadius() const
|
||||
|
||||
Reference in New Issue
Block a user