Changeset 10366 in orxonox.OLD for branches/playability.merge/src/lib/graphics/importer/vertex_array_model.cc
- Timestamp:
- Jan 25, 2007, 12:48:13 PM (18 years ago)
- Location:
- branches/playability.merge
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability.merge
- Property svn:ignore
-
old new 10 10 autom4te.cache 11 11 aclocal.m4 12 tags 13 test.bmp 14 config.sub 15 config.guess 16 OrxonoxPlayability.kdevses 17 OrxonoxPlayability.kdevelop.pcs
-
- Property svn:ignore
-
branches/playability.merge/src/lib/graphics/importer/vertex_array_model.cc
r9869 r10366 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.