Changeset 8077 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects
- Timestamp:
- Jun 1, 2006, 4:01:00 PM (18 years ago)
- Location:
- branches/atmospheric_engine/src/lib/graphics/effects
- Files:
-
- 2 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 } -
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h
r8071 r8077 30 30 virtual bool deactivate(); 31 31 32 virtual void tick(float dt); 32 virtual void draw() const; 33 virtual void tick(float dt); 33 34 34 35 void coord(float x, float y, float z);
Note: See TracChangeset
for help on using the changeset viewer.