Switch from Nz prefix to namespace Nz

What a huge commit


Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
This commit is contained in:
Lynix
2015-09-25 19:20:05 +02:00
parent c214251ecf
commit df8da275c4
609 changed files with 68265 additions and 66534 deletions

View File

@@ -2,19 +2,22 @@
// This file is part of the "Nazara Engine - Graphics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
inline void NzRenderable::EnsureBoundingVolumeUpdated() const
namespace Nz
{
if (!m_boundingVolumeUpdated)
UpdateBoundingVolume();
}
inline void Renderable::EnsureBoundingVolumeUpdated() const
{
if (!m_boundingVolumeUpdated)
UpdateBoundingVolume();
}
inline void NzRenderable::InvalidateBoundingVolume()
{
m_boundingVolumeUpdated = false;
}
inline void Renderable::InvalidateBoundingVolume()
{
m_boundingVolumeUpdated = false;
}
inline void NzRenderable::UpdateBoundingVolume() const
{
MakeBoundingVolume();
m_boundingVolumeUpdated = true;
inline void Renderable::UpdateBoundingVolume() const
{
MakeBoundingVolume();
m_boundingVolumeUpdated = true;
}
}