#include <SceneBuilderFactories.h>
Inherits Transformator.
Inheritance diagram for Rotator:
Public Member Functions | |
Rotator (std::map< std::string, Object * > &objects) | |
virtual bool | transform (const std::string &type, std::stringstream &line) |
Definition at line 672 of file SceneBuilderFactories.h.
Rotator::Rotator | ( | std::map< std::string, Object * > & | objects | ) | [inline] |
Constructor
Definition at line 677 of file SceneBuilderFactories.h.
bool Rotator::transform | ( | const std::string & | type, | |
std::stringstream & | line | |||
) | [virtual] |
Rotate given object based on type and data
type | Statement type | |
line | Line with data |
Implements Transformator.
Definition at line 689 of file SceneBuilderFactories.cpp.
References Transformator::mObjects, and PhysicalObject::rotate().