Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

orxonox/trunk: changing the height of the Grid should work

File:
1 edited

Legend:

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

    r6453 r6454  
    5151  unsigned int indiceCount() const { return this->indices.size(); };
    5252
    53 //  float& vertex(unsigned int i) { return this->vertices[i]; };
    54 
     53  Vector& vertex(unsigned int i) { return this->vertices[i]; };
     54  Vector& normal(unsigned int i) { return this->normals[i]; };
     55  //Vector& texCoord(unsigned int i) { return this->texCoord[i]; };
     56  Vector& color(unsigned int i) { return this->colors[i]; };
     57  GLuint  index(unsigned int i) { return this->indices[i]; };
    5558  //
    5659  void planeModel(float sizeX, float sizeY, unsigned int resolutionX, unsigned int resolutionY);
Note: See TracChangeset for help on using the changeset viewer.