Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 9, 2006, 11:11:59 PM (18 years ago)
Author:
bensch
Message:

trunk Vectors instead of floats used in VertexArrayModel

File:
1 edited

Legend:

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

    r6452 r6453  
    5151  unsigned int indiceCount() const { return this->indices.size(); };
    5252
    53   float& vertex(unsigned int i) { return this->vertices[i]; };
     53//  float& vertex(unsigned int i) { return this->vertices[i]; };
    5454
    5555  //
     
    6363
    6464 private:
    65   std::vector<float>       vertices;        //!< The Array that handles the Vertices.
    66   std::vector<float>       normals;         //!< The Array that handles the Normals.
    67   std::vector<float>       texCoords;       //!< The Array that handles the VertexTextureCoordinates.
    68   std::vector<float>       colors;          //!< The Array that handles Colors.
     65  std::vector<Vector>        vertices;        //!< The Array that handles the Vertices.
     66  std::vector<Vector>        normals;         //!< The Array that handles the Normals.
     67  std::vector<float>         texCoords;       //!< The Array that handles the VertexTextureCoordinates.
     68  std::vector<Vector>        colors;          //!< The Array that handles Colors.
    6969
    7070  std::vector<GLuint>        indices;         //!< The Array that tells us what Vertex is connected to which other one.
Note: See TracChangeset for help on using the changeset viewer.