Removing limit for point lights
This commit is contained in:
@@ -8,6 +8,12 @@ PointLightActor::PointLightActor(PScene scene)
|
||||
attachComponent<Component::PointLight>();
|
||||
}
|
||||
|
||||
PointLightActor::PointLightActor(PScene scene, Vector position, Vector color, float attenuation)
|
||||
: Actor(scene)
|
||||
{
|
||||
attachComponent<Component::PointLight>(Vector4(position, 1), Vector4(color, attenuation));
|
||||
}
|
||||
|
||||
PointLightActor::~PointLightActor()
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user