Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2005, 3:02:58 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ResourceManager not totally static anymore, list-iterators, and so on

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/projectile.cc

    r3670 r3672  
    3333Projectile::Projectile () : WorldEntity()
    3434{
    35   //this->model = new OBJModel("");
    36   this->projectileModel = new Primitive(P_SPHERE);
     35  this->model = (Model*)ResourceManager::getInstance()->load("cube", PRIM, RP_LEVEL);
     36  //  this->projectileModel = new Primitive(P_SPHERE);
    3737  this->flightDirection = NULL;
    3838  this->currentLifeTime = 0.0f;
     
    137137  this->getAbsDir().matrix (matrix);
    138138  glMultMatrixf((float*)matrix); 
    139   //this->model->draw();
    140   this->projectileModel->draw();
     139  this->model->draw();
     140  //this->projectileModel->draw();
    141141
    142142  glPopMatrix();
Note: See TracChangeset for help on using the changeset viewer.