(SceneNode) Added virtual constructor idiom
(Light) Added default constructor Former-commit-id: 591e6a8435d2cea6238e70c0058d381b8d547f3e
This commit is contained in:
@@ -47,6 +47,16 @@ void NzLight::AddToRenderQueue(NzAbstractRenderQueue* renderQueue) const
|
||||
renderQueue->AddLight(this);
|
||||
}
|
||||
|
||||
NzLight* NzLight::Clone() const
|
||||
{
|
||||
return new NzLight(*this);
|
||||
}
|
||||
|
||||
NzLight* NzLight::Create() const
|
||||
{
|
||||
return new NzLight;
|
||||
}
|
||||
|
||||
void NzLight::Enable(const NzShader* shader, const NzLightUniforms& uniforms, int offset) const
|
||||
{
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user