Explorar el Código

World default group now have a name!

Fancy!
Godzil hace 4 años
padre
commit
0f945b69cc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      source/world.cpp

+ 1 - 1
source/world.cpp

@@ -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);