Changeset 6456 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Jan 10, 2006, 12:09:58 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/vertex_array_model.cc
r6453 r6456 264 264 for (j = 0; j < resolutionX; j++) 265 265 { 266 this->addVertex(( float)i - (float)sizeY/2.0, 0.0, (float)j - (float)sizeX/2.0);266 this->addVertex(((float)i - (float)resolutionY/2.0)*sizeY, 0.0, ((float)j - (float)resolutionX/2.0)*sizeX); 267 267 this->addNormal(0.0, 1, 0.0); 268 268 this->addTexCoor((float)i/(float)resolutionY, (float)j/(float)resolutionY);
Note: See TracChangeset
for help on using the changeset viewer.