Changeset 708 for code/branches/FICN/src/orxonox/objects/Light.h
- Timestamp:
- Dec 28, 2007, 10:30:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/Light.h
r676 r708 2 2 #define _Light_H__ 3 3 4 #include < string>4 #include <OgreLight.h> 5 5 6 #include "OgreLight.h" 7 #include "OgreColourValue.h" 6 #include "../OrxonoxPrereqs.h" 7 8 #include "misc/String.h" 9 #include "misc/ColourValue.h" 8 10 9 11 namespace orxonox … … 14 16 Light(); 15 17 ~Light(); 16 void setLight(Ogre::Light::LightTypes type = Ogre::Light::LT_POINT, const Ogre::ColourValue& diffuse = Ogre::ColourValue(1.0, 1.0, 1.0), const Ogre::ColourValue& specular = Ogre::ColourValue(1.0, 1.0, 1.0));18 void setLight(Ogre::Light::LightTypes type = Ogre::Light::LT_POINT, const ColourValue& diffuse = ColourValue(1.0, 1.0, 1.0), const ColourValue& specular = ColourValue(1.0, 1.0, 1.0)); 17 19 18 20 inline Ogre::Light* getLight() 19 21 { return this->light_; } 20 22 21 inline const std::string& getName() const23 inline const String& getName() const 22 24 { return this->light_->getName(); } 23 25
Note: See TracChangeset
for help on using the changeset viewer.