forked from Dynamitos/Seele
Removing limit for point lights
This commit is contained in:
1 parent
f9a89f6592
commit
36aec0fa06
8 files changed
+76
-16
No files matched your search
@@ -8,6 +8,12 @@ DirectionalLightActor::DirectionalLightActor(PScene scene)
|
||||
attachComponent<Component::DirectionalLight>();
|
||||
}
|
||||
|
||||
DirectionalLightActor::DirectionalLightActor(PScene scene, Vector color, Vector direction)
|
||||
: Actor(scene)
|
||||
{
|
||||
attachComponent<Component::DirectionalLight>(Vector4(color, 0), Vector4(direction, 0));
|
||||
}
|
||||
|
||||
DirectionalLightActor::~DirectionalLightActor()
|
||||
{
|
||||
|
||||
|
||||
Reference in new issue
Block a user