#include <SceneBuilderFactories.h>
Inherits LightFactory.
Inheritance diagram for PointLightFactory:
Public Member Functions | |
PointLightFactory () | |
virtual Light * | create (const std::string &type, std::stringstream &line) |
Definition at line 137 of file SceneBuilderFactories.h.
PointLightFactory::PointLightFactory | ( | ) | [inline] |
Constructor
Definition at line 142 of file SceneBuilderFactories.h.
Light * PointLightFactory::create | ( | const std::string & | type, | |
std::stringstream & | line | |||
) | [virtual] |
Create a new light based on type and data in the stream
type | Statement type | |
line | Line with data |
Implements LightFactory.
Definition at line 94 of file SceneBuilderFactories.cpp.