Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 26, 2006, 2:09:53 PM (18 years ago)
Author:
bensch
Message:

trunk: vertexArrayModel with TexCoords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/vertex_array_model.h

    r6454 r6769  
    1010
    1111#include "glincl.h"
     12#include "vector2D.h"
    1213
    1314#include <vector>
     
    5354  Vector& vertex(unsigned int i) { return this->vertices[i]; };
    5455  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]; };
    5657  Vector& color(unsigned int i) { return this->colors[i]; };
    5758  GLuint  index(unsigned int i) { return this->indices[i]; };
     
    6869  std::vector<Vector>        vertices;        //!< The Array that handles the Vertices.
    6970  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.
    7172  std::vector<Vector>        colors;          //!< The Array that handles Colors.
    7273
Note: See TracChangeset for help on using the changeset viewer.