Changeset 6890 in orxonox.OLD for branches/cd_merge/src/world_entities
- Timestamp:
- Jan 31, 2006, 1:55:42 PM (19 years ago)
- Location:
- branches/cd_merge/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cd_merge/src/world_entities/world_entity.cc
r6634 r6890 202 202 * @param depth the depth to calculate 203 203 */ 204 bool WorldEntity::buildObbTree( unsignedint depth)204 bool WorldEntity::buildObbTree(int depth) 205 205 { 206 206 if (this->obbTree) … … 211 211 PRINTF(4)("creating obb tree\n"); 212 212 213 214 this->obbTree = new OBBTree(depth, (sVec3D*)this->models[0]->getVertexArray(), this->models[0]->getVertexCount()); 213 this->obbTree = new OBBTree(depth, this->models[0]->getModelInfo()); 215 214 return true; 216 215 } -
branches/cd_merge/src/world_entities/world_entity.h
r6512 r6890 42 42 inline void loadMD2Texture(const char* fileName) { this->md2TextureFileName = fileName; } 43 43 44 bool buildObbTree( unsignedint depth);44 bool buildObbTree(int depth); 45 45 /** @returns a reference to the obb tree of this worldentity */ 46 46 BVTree* getOBBTree() const { return this->obbTree; };
Note: See TracChangeset
for help on using the changeset viewer.