Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 1, 2007, 3:32:36 AM (17 years ago)
Author:
marcscha
Message:

Wobblegrid addition for alienweapons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/lib/graphics/importer/vertex_array_model.cc

    r9869 r10154  
    260260                            ((float)j - (float)resolutionY/2.0)/(float)resolutionY * sizeY);
    261261          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));
    263263          this->addColor(1.0, 1.0, 1.0);
    264264        }
Note: See TracChangeset for help on using the changeset viewer.