Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 16, 2005, 11:38:15 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: testBullet now loads it model as it should

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/test_bullet.cc

    r5054 r5055  
    3838
    3939  float modelSize = .3;
    40   this->model = (Model*)ResourceManager::getInstance()->load("models/projectiles/orx-rocket.obj", OBJ, RP_LEVEL, (void*) &modelSize);
    41 
    42   if(this->obbTree == NULL)
    43     this->obbTree = new OBBTree(4, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());
     40  this->loadModel("models/projectiles/orx-rocket.obj");
    4441
    4542  this->energyMin = 1;
Note: See TracChangeset for help on using the changeset viewer.