Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 22, 2006, 1:11:41 PM (19 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc

    r8702 r8713  
    7878  this->lighteningActivate = false;
    7979
    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;
    8283
    8384  this->flashHoldTime = 0.1f;
     
    9495  this->lighteningMove = false;
    9596
    96   this->mainPosX = 2000;
     97  this->mainPosX = 1200;
    9798  this->mainPosY = 900;
    9899  this->mainPosZ = 0;
     
    124125  {
    125126    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);
    130131  }
    131132  else
    132133  {
    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);
    137138  }
    138139
Note: See TracChangeset for help on using the changeset viewer.