Changeset 10049 in orxonox.OLD for branches/playability/src
- Timestamp:
- Dec 12, 2006, 11:20:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/hbolt.cc
r10047 r10049 60 60 this->mat->setBlendFunc(GL_SRC_ALPHA,GL_ONE); 61 61 this->mat->setDiffuse(1,1,1); 62 /* this->mat->setDiffuseMap("hbolt.png");63 this->mat->setDiffuseMap("hbolt.png",1);64 this->mat->setDiffuseMap("hbolt_halo.png",1);62 this->mat->setDiffuseMap("hbolt_halo.png"); 63 // this->mat->setDiffuseMap("hbolt.png",1); 64 // this->mat->setDiffuseMap("hbolt_halo.png",2); 65 65 dynamic_cast<StaticModel*>(this->getModel())->addMaterial(this->mat); 66 dynamic_cast<StaticModel*>(this->getModel())->finalize();*/ 66 dynamic_cast<StaticModel*>(this->getModel())->finalize(); 67 this->mat->select(); 67 68 68 69 } … … 186 187 this->getModel()->draw(); 187 188 188 /*189 189 this->mat->select(); 190 190 dynamic_cast<StaticModel*>(this->getModel())->draw(); 191 this->mat->select();192 dynamic_cast<StaticModel*>(this->getModel())->draw();191 // this->mat->select(); 192 // dynamic_cast<StaticModel*>(this->getModel())->draw(); 193 193 this->mat->unselect(); 194 this->mat->unselect();*/ 194 195 195 196 196 glPopMatrix();
Note: See TracChangeset
for help on using the changeset viewer.