Changeset 8266 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h
- Timestamp:
- Jun 8, 2006, 4:26:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h
r8255 r8266 38 38 39 39 inline void setLighteningOption(const std::string& option) { if (option == "activate") this->lighteningActivate = true;} 40 inline void setFlashFrequency(float flashFrequency) { this->flashFrequency = flashFrequency; } 40 inline void setFlashFrequency(float mainFrequency) { this->mainFrequency = mainFrequency; 41 this->flashFrequency = mainFrequency; } 41 42 inline void setFlashConstTime(float flashConstTime) { this->flashConstTime = flashConstTime; } 42 43 inline void setFlashRisingTime(float flashRisingTime) { if(flashRisingTime > this->flashConstTime) … … 56 57 57 58 float flashFrequency; 59 float mainFrequency; 58 60 float flashConstTime; 59 61 float flashRisingTime;
Note: See TracChangeset
for help on using the changeset viewer.