Changeset 8269 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc
- Timestamp:
- Jun 8, 2006, 4:42:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc
r8266 r8269 232 232 this->billboard[3]->setAbsCoor(posX, this->mainPosY, posZ); 233 233 this->flashFrequency = this->mainFrequency + this->seedTime * (float)rand()/(float)RAND_MAX; 234 234 float w = this->width + this->seedWidth * (float)rand()/(float)RAND_MAX; 235 float h = this->height + this->seedHeight * (float)rand()/(float)RAND_MAX; 236 this->billboard[0]->setSize(w, h); 237 this->billboard[1]->setSize(w, h); 238 this->billboard[2]->setSize(w, h); 239 this->billboard[3]->setSize(w, h); 235 240 this->bNewCoordinate = false; 236 241 }
Note: See TracChangeset
for help on using the changeset viewer.