From c879bd16566c4a8468adffdd60d750b039fa17cc Mon Sep 17 00:00:00 2001 From: Lynix Date: Tue, 16 Jun 2015 12:25:32 +0200 Subject: [PATCH] Graphics/Renderable: Fix warning Former-commit-id: 8732717db7a067ccb286daf5771520c30017acc6 --- include/Nazara/Graphics/Renderable.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/Nazara/Graphics/Renderable.hpp b/include/Nazara/Graphics/Renderable.hpp index 19859c012..7226db4ae 100644 --- a/include/Nazara/Graphics/Renderable.hpp +++ b/include/Nazara/Graphics/Renderable.hpp @@ -24,7 +24,7 @@ class NAZARA_GRAPHICS_API NzRenderable NzRenderable(const NzRenderable& renderable) = default; virtual ~NzRenderable(); - void EnsureBoundingVolumeUpdated() const; + inline void EnsureBoundingVolumeUpdated() const; virtual void AddToRenderQueue(NzAbstractRenderQueue* renderQueue, const NzMatrix4f& transformMatrix) const = 0; virtual bool Cull(const NzFrustumf& frustum, const NzMatrix4f& transformMatrix) const = 0; @@ -35,8 +35,8 @@ class NAZARA_GRAPHICS_API NzRenderable protected: virtual void MakeBoundingVolume() const = 0; - void InvalidateBoundingVolume(); - void UpdateBoundingVolume() const; + inline void InvalidateBoundingVolume(); + inline void UpdateBoundingVolume() const; mutable NzBoundingVolumef m_boundingVolume;