Changeset 8266 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc
- 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.cc
r8255 r8266 71 71 this->time = 0.0; 72 72 this->flashFrequency = 1.4f; 73 this->mainFrequency = 1.4f; 73 74 this->flashConstTime = 0.5f; 74 75 this->flashRisingTime = 0.1f; … … 105 106 this->billboard[3]->setTexture("maps/lightning_bolt4.png"); 106 107 this->billboard[3]->setSize(this->width, this->height); 107 this->billboard[3]->setAbsCoor( 0.0f, 50.0f, 0.0f);108 this->billboard[3]->setAbsCoor(3000,850,0); 108 109 this->billboard[3]->setVisibiliy(false); 109 110 /* … … 230 231 this->billboard[2]->setAbsCoor(posX, this->mainPosY, posZ); 231 232 this->billboard[3]->setAbsCoor(posX, this->mainPosY, posZ); 233 this->flashFrequency = this->mainFrequency + this->seedTime * (float)rand()/(float)RAND_MAX; 234 232 235 this->bNewCoordinate = false; 233 236 }
Note: See TracChangeset
for help on using the changeset viewer.