Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2006, 4:01:00 PM (18 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: lightening effect

File:
1 edited

Legend:

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

    r8071 r8077  
    2424
    2525#include "shell_command.h"
     26#include "light.h"
    2627
    2728SHELL_COMMAND(activate, LighteningEffect, activateLightening);
     
    144145  }
    145146}
     147
     148void LighteningEffect::draw() const
     149{
     150  /*if(!this->billboard->isVisible())
     151    return;
     152 
     153  LightManager* lightMan = LightManager::getInstance();
     154 
     155  (new Light())->setAbsCoor(this->billboard->getAbsCoor().x, this->billboard->getAbsCoor().y, this->billboard->getAbsCoor().z);
     156  (new Light())->setDiffuseColor(1,1,1);
     157  LightManager::getInstance()->draw();
     158 
     159  delete lightMan;*/
     160}
Note: See TracChangeset for help on using the changeset viewer.