Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6890 in orxonox.OLD for branches/cd_merge/src/world_entities


Ignore:
Timestamp:
Jan 31, 2006, 1:55:42 PM (19 years ago)
Author:
patrick
Message:

cd_merge: comipiles again. major interface adjustements

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  
    202202 * @param depth the depth to calculate
    203203 */
    204 bool WorldEntity::buildObbTree(unsigned int depth)
     204bool WorldEntity::buildObbTree(int depth)
    205205{
    206206  if (this->obbTree)
     
    211211    PRINTF(4)("creating obb tree\n");
    212212
    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());
    215214    return true;
    216215  }
  • branches/cd_merge/src/world_entities/world_entity.h

    r6512 r6890  
    4242  inline void loadMD2Texture(const char* fileName) { this->md2TextureFileName = fileName; }
    4343
    44   bool buildObbTree(unsigned int depth);
     44  bool buildObbTree(int depth);
    4545  /** @returns a reference to the obb tree of this worldentity */
    4646  BVTree* getOBBTree() const { return this->obbTree; };
Note: See TracChangeset for help on using the changeset viewer.