Changeset 8326 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h
- Timestamp:
- Jun 12, 2006, 3:50:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h
r8269 r8326 37 37 void setFlashSize(float width, float height, float seedWidth, float seedHeight); 38 38 39 inline void setLighteningOption(const std::string& option) { if (option == "activate") this->lighteningActivate = true;} 39 inline void setLighteningOption(const std::string& option) { if (option == "activate") this->lighteningActivate = true; 40 if (option == "movelightening") this->lighteningMove = true;} 40 41 inline void setFlashFrequency(float mainFrequency, float seedTime) { this->mainFrequency = mainFrequency; 41 42 this->flashFrequency = mainFrequency; … … 55 56 Billboard* billboard[4]; 56 57 bool lighteningActivate; 58 bool lighteningMove; 57 59 58 60 float flashFrequency; … … 76 78 float mainPosY; 77 79 float mainPosZ; 80 81 Vector cameraCoor; 78 82 79 83 Light* flashLight;
Note: See TracChangeset
for help on using the changeset viewer.