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.cc

    r6766 r6769  
    208208void VertexArrayModel::addTexCoor(float u, float v)
    209209{
    210   this->texCoords.push_back(u);
    211   this->texCoords.push_back(v);
     210  this->texCoords.push_back(Vector2D(u,v));
    212211  this->pModelInfo.numTexCoor++;
    213212}
     
    358357            this->vertices.size(),
    359358            this->normals.size(),
    360             this->texCoords.size()/2,
     359            this->texCoords.size(),
    361360            this->colors.size() );
    362361  for (GLuint i = 1; i < this->stripes.size(); ++i)
Note: See TracChangeset for help on using the changeset viewer.