Candle v1.0
2D lighting for SFML
|
This file contains the LightingSource class and some convenient typedefs. More...
Classes | |
class | candle::LightSource |
Interface for objects that emit light. More... | |
Typedefs | |
typedef sfu::Line | candle::Edge |
Typedef with mere semantic purposes. | |
typedef std::vector< Edge > | candle::EdgeVector |
Typedef to shorten the use of vectors as edge pools. | |
Functions | |
void | candle::initializeTextures () |
This function initializes the Texture used for the RadialLights. More... | |
This file contains the LightingSource class and some convenient typedefs.
void candle::initializeTextures | ( | ) |
This function initializes the Texture used for the RadialLights.
This function is called the first time a RadialLight is created , so the user shouldn't need to do it. Anyways, it could be necessary to do it explicitly if you declare a RadialLight that, for some reason, is global or static RadialLight and is not constructed in a normal order.