// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include #include #include namespace Nz { inline Light::Light(UInt8 lightType) : m_boundingVolume(BoundingVolumef::Null()), m_lightType(lightType) { } inline const BoundingVolumef& Light::GetBoundingVolume() const { return m_boundingVolume; } inline UInt8 Light::GetLightType() const { return m_lightType; } inline void Light::UpdateBoundingVolume(const BoundingVolumef& boundingVolume) { m_boundingVolume = boundingVolume; OnLightDataInvalided(this); } } #include