Light constructors
Posted: Thu May 01, 2014 12:34 pm
Hi there,
in OgreLight.cpp are 2 constructors for a light.
First is without any argument and do NOT call MovableObject constructor.
Second is called with name argument and call MovableObject constructor with the same name...
Questions:
What will be the name of the first light? (I think that it will not have a name - empty string)
What the first light is used for (I know that users should call createLight() from sceneManager... but what people do with that Light if they not)
Thanks
in OgreLight.cpp are 2 constructors for a light.
First is without any argument and do NOT call MovableObject constructor.
Second is called with name argument and call MovableObject constructor with the same name...
Questions:
What will be the name of the first light? (I think that it will not have a name - empty string)
What the first light is used for (I know that users should call createLight() from sceneManager... but what people do with that Light if they not)
Thanks