Changeset 4806 in orxonox.OLD for orxonox/trunk/src/lib/graphics/importer
- Timestamp:
- Jul 7, 2005, 11:44:59 AM (19 years ago)
- Location:
- orxonox/trunk/src/lib/graphics/importer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/abstract_model.h
r4804 r4806 137 137 class AbstractModel : public BaseObject { 138 138 139 public: 140 AbstractModel() {} 141 virtual ~AbstractModel() {} 139 public: 140 AbstractModel() {} 141 virtual ~AbstractModel() {} 142 143 inline modelInfo* getModelInfo() const { return this->pModelInfo; } 144 145 146 protected: 147 modelInfo* pModelInfo; //!< Reference to the modelInfo defined in abstract_model.h 142 148 }; 143 149 -
orxonox/trunk/src/lib/graphics/importer/model.cc
r4804 r4806 198 198 delete tmpIt; 199 199 delete materialList; 200 delete this->pModelInfo; 200 201 } 201 202 -
orxonox/trunk/src/lib/graphics/importer/model.h
r4804 r4806 97 97 98 98 //! Class that handles 3D-Models. it can also read them in and display them. 99 class Model : public BaseObject99 class Model : public AbstractModel 100 100 { 101 101 public: … … 128 128 inline unsigned int getFaceCount() const { return this->faceCount; }; 129 129 130 inline modelInfo* getModelInfo() const { return this->pModelInfo; }131 130 132 131 Material* addMaterial(Material* material); … … 181 180 Array<GLfloat>* vTexture; //!< The Array that handles the VertexTextureCoordinates. 182 181 sTriangleExt* triangles; //!< The Array of triangles in the abstract_model.h style 183 modelInfo* pModelInfo; //!< Reference to the modelInfo defined in abstract_model.h184 182 185 183 ModelGroup* firstGroup; //!< The first of all groups.
Note: See TracChangeset
for help on using the changeset viewer.