Changeset 6769 in orxonox.OLD for trunk/src/lib/graphics/importer/vertex_array_model.h
- Timestamp:
- Jan 26, 2006, 2:09:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/vertex_array_model.h
r6454 r6769 10 10 11 11 #include "glincl.h" 12 #include "vector2D.h" 12 13 13 14 #include <vector> … … 53 54 Vector& vertex(unsigned int i) { return this->vertices[i]; }; 54 55 Vector& normal(unsigned int i) { return this->normals[i]; }; 55 //Vector& texCoord(unsigned int i) { return this->texCoord[i]; };56 Vector2D& texCoord(unsigned int i) { return this->texCoords[i]; }; 56 57 Vector& color(unsigned int i) { return this->colors[i]; }; 57 58 GLuint index(unsigned int i) { return this->indices[i]; }; … … 68 69 std::vector<Vector> vertices; //!< The Array that handles the Vertices. 69 70 std::vector<Vector> normals; //!< The Array that handles the Normals. 70 std::vector< float>texCoords; //!< The Array that handles the VertexTextureCoordinates.71 std::vector<Vector2D> texCoords; //!< The Array that handles the VertexTextureCoordinates. 71 72 std::vector<Vector> colors; //!< The Array that handles Colors. 72 73
Note: See TracChangeset
for help on using the changeset viewer.