7 #ifndef NAZARA_RENDERABLE_HPP 8 #define NAZARA_RENDERABLE_HPP 10 #include <Nazara/Graphics/Config.hpp> 11 #include <Nazara/Math/BoundingVolume.hpp> 12 #include <Nazara/Math/Frustum.hpp> 13 #include <Nazara/Math/Matrix4.hpp> 17 class AbstractRenderQueue;
29 virtual bool Cull(
const Frustumf& frustum,
const Matrix4f& transformMatrix)
const;
31 inline void EnsureBoundingVolumeUpdated()
const;
33 virtual void UpdateBoundingVolume(
const Matrix4f& transformMatrix);
39 virtual void MakeBoundingVolume()
const = 0;
40 inline void InvalidateBoundingVolume();
45 inline void UpdateBoundingVolume()
const;
47 mutable bool m_boundingVolumeUpdated;
51 #include <Nazara/Graphics/Renderable.inl> 53 #endif // NAZARA_RENDERABLE_HPP Math class that represents a frustum in the three dimensional vector space.
Definition: Frustum.hpp:24
TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Graphics class that represents the rendering queue for our scene.
Definition: AbstractRenderQueue.hpp:26
Graphics class that represents a renderable element for our scene.
Definition: Renderable.hpp:19