Changeset 6191 in orxonox.OLD for branches/christmas_branche/src/world_entities/world_entity.h
- Timestamp:
- Dec 20, 2005, 3:24:14 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/world_entities/world_entity.h
r6179 r6191 36 36 void setModel(Model* model, unsigned int modelNumber = 0); 37 37 Model* getModel(unsigned int modelNumber = 0) const { return (this->models.size() > modelNumber)? this->models[modelNumber] : NULL; }; 38 39 inline void loadMD2Texture(const char* fileName) { this->md2TextureFileName = fileName; } 38 40 39 41 bool buildObbTree(unsigned int depth); … … 79 81 private: 80 82 std::vector<Model*> models; //!< The model that should be loaded for this entity. 83 const char* md2TextureFileName; //!< the file name of the md2 model texture, only if this 81 84 BVTree* obbTree; //!< this is the obb tree reference needed for collision detection 82 85
Note: See TracChangeset
for help on using the changeset viewer.