Graphics: Add light type
This commit is contained in:
@@ -8,8 +8,9 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
inline Light::Light() :
|
||||
m_boundingVolume(BoundingVolumef::Null())
|
||||
inline Light::Light(UInt8 lightType) :
|
||||
m_boundingVolume(BoundingVolumef::Null()),
|
||||
m_lightType(lightType)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -18,6 +19,11 @@ namespace Nz
|
||||
return m_boundingVolume;
|
||||
}
|
||||
|
||||
inline UInt8 Light::GetLightType() const
|
||||
{
|
||||
return m_lightType;
|
||||
}
|
||||
|
||||
inline void Light::UpdateBoundingVolume(const BoundingVolumef& boundingVolume)
|
||||
{
|
||||
m_boundingVolume = boundingVolume;
|
||||
|
||||
Reference in New Issue
Block a user