World default group now have a name!

Fancy!
This commit is contained in:
Godzil
2020-03-09 15:58:59 +00:00
parent 314da11005
commit 0f945b69cc

View File

@@ -22,7 +22,7 @@ extern "C" {
#define MIN_ALLOC (2) #define MIN_ALLOC (2)
World::World() : lightCount(0) World::World() : lightCount(0), worldGroup("World")
{ {
this->allocatedLightCount = MIN_ALLOC; this->allocatedLightCount = MIN_ALLOC;
this->lightList = (Light **)calloc(sizeof(Light *), MIN_ALLOC); this->lightList = (Light **)calloc(sizeof(Light *), MIN_ALLOC);