Changeset 5054 in orxonox.OLD for orxonox/trunk/src/world_entities/npc.cc
- Timestamp:
- Aug 16, 2005, 11:33:15 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/npc.cc
r5053 r5054 17 17 18 18 19 //#include "ai.h"20 21 19 #include "npc.h" 22 20 #include "obb_tree.h" … … 33 31 34 32 this->loadModel("models/ships/bolido.obj"); 35 if( this->obbTree == NULL)33 if( this->obbTree == NULL) 36 34 this->obbTree = new OBBTree(4, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount()); 37 35 } … … 53 51 54 52 //if (directin.len() < 100) 55 this->shiftCoor(direction *dt * 5 * exp(-direction.len() /30.0));53 this->shiftCoor(direction *dt * 5 * exp(-direction.len() / 30.0)); 56 54 57 55 }
Note: See TracChangeset
for help on using the changeset viewer.