Changeset 4678 in orxonox.OLD for orxonox/trunk/src/lib/graphics/importer/model.h
- Timestamp:
- Jun 23, 2005, 11:32:19 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/model.h
r4677 r4678 111 111 inline const GLfloat* getVertexArray(void) const { return this->vertices->getArray(); }; 112 112 /** \returns the VertexCount of this Model */ 113 inline unsigned int getVertex ArrayCount(void) const { return this->vertexCount; };113 inline unsigned int getVertexCount(void) const { return this->vertexCount; }; 114 114 115 115 /** \returns a Pointer to the Normals-Array, if it was deleted it returns NULL */ 116 116 inline const GLfloat* getNormalsArray(void) const { return this->normals->getArray(); }; 117 117 /** \returns the NormalsCount of this Model */ 118 inline unsigned int getNormals ArrayCount(void) const { return this->normalCount; };118 inline unsigned int getNormalsCount(void) const { return this->normalCount; }; 119 119 120 120 /** \returns a Pointer to the TexCoord-Array, if it was deleted it returns NULL */ 121 121 inline const GLfloat* getTexCoordArray(void) const { return this->vTexture->getArray(); }; 122 122 /** \returns the TexCoord-Count of this Model */ 123 inline unsigned int getTexCoordArrayCount(void) const { return this->texCoordCount; }; 123 inline unsigned int getTexCoordCount(void) const { return this->texCoordCount; }; 124 125 /** \returns the Count of Faces of this Model */ 126 inline unsigned int getFaceCount() const { return this->faceCount; }; 124 127 125 128 … … 140 143 void finalize(void); 141 144 142 /** \returns The number of Vertices of the Model */143 inline int getVertexCount(void) const { return this->vertexCount; };144 /** \returns The number of Normals of the Model */145 inline int getNormalCount(void) const { return this->normalCount; };146 /** \returns The number of Texture Coordinates of the Model */147 inline int getTexCoordCount(void) const { return this->texCoordCount; };148 /** \returns The number of Faces of the entire Model */149 inline unsigned int getFaceCount() const { return this->faceCount; };150 145 151 146 protected:
Note: See TracChangeset
for help on using the changeset viewer.