Added Light::SetLightType

Former-commit-id: 8f55cd7b3941496e97795ca920c7a657e555eeab
This commit is contained in:
Lynix 2013-09-23 09:49:03 +02:00
parent 96974a9d2b
commit 1a561e42ff
2 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class NAZARA_API NzLight : public NzSceneNode
void SetColor(const NzColor& color);
void SetDiffuseFactor(float factor);
void SetInnerAngle(float innerAngle);
void SetLightType(nzLightType type);
void SetOuterAngle(float outerAngle);
void SetRadius(float radius);

View File

@ -206,6 +206,11 @@ void NzLight::SetInnerAngle(float innerAngle)
m_innerAngle = innerAngle;
}
void NzLight::SetLightType(nzLightType type)
{
m_type = type;
}
void NzLight::SetOuterAngle(float outerAngle)
{
m_outerAngle = outerAngle;