Changeset 8713 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc
- Timestamp:
- Jun 22, 2006, 1:11:41 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc
r8702 r8713 78 78 this->lighteningActivate = false; 79 79 80 this->flashFrequencyBase = 2.0f; 81 this->flashFrequencySeed = 4.0f; 80 this->flashFrequency = 4.0f; 81 this->flashFrequencyBase = 4.0f; 82 this->flashFrequencySeed = 2.0f; 82 83 83 84 this->flashHoldTime = 0.1f; … … 94 95 this->lighteningMove = false; 95 96 96 this->mainPosX = 2000;97 this->mainPosX = 1200; 97 98 this->mainPosY = 900; 98 99 this->mainPosZ = 0; … … 124 125 { 125 126 this->cameraCoor = State::getCameraNode()->getAbsCoor(); 126 this->billboard[0]->setAbsCoor(this->cameraCoor.x+ 3000,900,this->cameraCoor.z+0);127 this->billboard[1]->setAbsCoor(this->cameraCoor.x+ 3000,900,this->cameraCoor.z+0);128 this->billboard[2]->setAbsCoor(this->cameraCoor.x+ 3000,900,this->cameraCoor.z+0);129 this->billboard[3]->setAbsCoor(this->cameraCoor.x+ 3000,900,this->cameraCoor.z+0);127 this->billboard[0]->setAbsCoor(this->cameraCoor.x+1200,900,this->cameraCoor.z+0); 128 this->billboard[1]->setAbsCoor(this->cameraCoor.x+1200,900,this->cameraCoor.z+0); 129 this->billboard[2]->setAbsCoor(this->cameraCoor.x+1200,900,this->cameraCoor.z+0); 130 this->billboard[3]->setAbsCoor(this->cameraCoor.x+1200,900,this->cameraCoor.z+0); 130 131 } 131 132 else 132 133 { 133 this->billboard[0]->setAbsCoor( 3000,900,0);134 this->billboard[1]->setAbsCoor( 3000,900,0);135 this->billboard[2]->setAbsCoor( 3000,900,0);136 this->billboard[3]->setAbsCoor( 3000,900,0);134 this->billboard[0]->setAbsCoor(1200,900,0); 135 this->billboard[1]->setAbsCoor(1200,900,0); 136 this->billboard[2]->setAbsCoor(1200,900,0); 137 this->billboard[3]->setAbsCoor(1200,900,0); 137 138 } 138 139
Note: See TracChangeset
for help on using the changeset viewer.