Changeset 8269 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h
- Timestamp:
- Jun 8, 2006, 4:42:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h
r8266 r8269 38 38 39 39 inline void setLighteningOption(const std::string& option) { if (option == "activate") this->lighteningActivate = true;} 40 inline void setFlashFrequency(float mainFrequency) { this->mainFrequency = mainFrequency; 41 this->flashFrequency = mainFrequency; } 40 inline void setFlashFrequency(float mainFrequency, float seedTime) { this->mainFrequency = mainFrequency; 41 this->flashFrequency = mainFrequency; 42 this->seedTime = seedTime; } 42 43 inline void setFlashConstTime(float flashConstTime) { this->flashConstTime = flashConstTime; } 43 44 inline void setFlashRisingTime(float flashRisingTime) { if(flashRisingTime > this->flashConstTime) … … 45 46 else 46 47 this->flashRisingTime = flashRisingTime; } 47 inline void setFlashSeed(float seedX, float seedZ, float seedTime) { this->seedX = seedX; 48 this->seedZ = seedZ; 49 this->seedTime = seedTime; } 48 inline void setFlashSeed(float seedX, float seedZ) { this->seedX = seedX; 49 this->seedZ = seedZ; } 50 50 51 51 void activateLightening() { this->activate(); }
Note: See TracChangeset
for help on using the changeset viewer.