Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10049 in orxonox.OLD for branches/playability/src


Ignore:
Timestamp:
Dec 12, 2006, 11:20:58 PM (18 years ago)
Author:
nicolasc
Message:

bump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/projectiles/hbolt.cc

    r10047 r10049  
    6060  this->mat->setBlendFunc(GL_SRC_ALPHA,GL_ONE);
    6161  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);
    6565  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();
    6768
    6869}
     
    186187  this->getModel()->draw();
    187188
    188 /*
    189189  this->mat->select();
    190190  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();
    193193  this->mat->unselect();
    194   this->mat->unselect();*/
     194
    195195
    196196  glPopMatrix();
Note: See TracChangeset for help on using the changeset viewer.