Graphics: Separate Renderable and make Light a Renderable (LightComponent)
Former-commit-id: 6177d473f27ef493ba77417fc14461cb08b6f9e1
This commit is contained in:
@@ -94,13 +94,4 @@ inline void NzLight::SetRadius(float radius)
|
||||
InvalidateBoundingVolume();
|
||||
}
|
||||
|
||||
template<typename... Args>
|
||||
NzLightRef NzLight::New(Args&&... args)
|
||||
{
|
||||
std::unique_ptr<NzLight> object(new NzLight(std::forward<Args>(args)...));
|
||||
object->SetPersistent(false);
|
||||
|
||||
return object.release();
|
||||
}
|
||||
|
||||
#include <Nazara/Renderer/DebugOff.hpp>
|
||||
|
||||
Reference in New Issue
Block a user