Changeset 10154 in orxonox.OLD for branches/playability/src/lib/graphics/importer/vertex_array_model.cc
- Timestamp:
- Jan 1, 2007, 3:32:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/lib/graphics/importer/vertex_array_model.cc
r9869 r10154 260 260 ((float)j - (float)resolutionY/2.0)/(float)resolutionY * sizeY); 261 261 this->addNormal(0.0, 1, 0.0); 262 this->addTexCoor((float)i/(float) resolutionX, (float)j/(float)resolutionY);262 this->addTexCoor((float)i/(float)(resolutionY-1), (float)j/(float)(resolutionX-1)); 263 263 this->addColor(1.0, 1.0, 1.0); 264 264 }
Note: See TracChangeset
for help on using the changeset viewer.