Changeset 8077 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc
- Timestamp:
- Jun 1, 2006, 4:01:00 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc
r8071 r8077 24 24 25 25 #include "shell_command.h" 26 #include "light.h" 26 27 27 28 SHELL_COMMAND(activate, LighteningEffect, activateLightening); … … 144 145 } 145 146 } 147 148 void 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.