Changeset 5055 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Aug 16, 2005, 11:38:15 PM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r5054 r5055 931 931 while( entity != NULL ) 932 932 { 933 //if( entity->isVisible() ) entity->draw();934 entity->drawBVTree(2, 226); // to draw the bounding boxes of the objects at level 2 for debug purp933 if( entity->isVisible() ) entity->draw(); 934 //entity->drawBVTree(2, 226); // to draw the bounding boxes of the objects at level 2 for debug purp 935 935 entity = iterator->nextElement(); 936 936 } -
orxonox/trunk/src/world_entities/weapons/test_bullet.cc
r5054 r5055 38 38 39 39 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"); 44 41 45 42 this->energyMin = 1;
Note: See TracChangeset
for help on using the changeset viewer.