- Timestamp:
- Jan 28, 2007, 10:11:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/scrolling_screen.cc
r10464 r10465 191 191 192 192 // unten links 193 glTexCoord2f(0., 1.);193 glTexCoord2f(0., this->offset + ratio); 194 194 glVertex3f(0., -view*0.5, -this->ySize*0.5); 195 195 196 196 // unten rechts 197 glTexCoord2f( ratio, 1.);197 glTexCoord2f(1., this->offset + ratio); 198 198 glVertex3f(0., -view*0.5, this->ySize*0.5); 199 199 200 200 // oben rechts 201 glTexCoord2f( ratio, 0.);201 glTexCoord2f(1., this->offset); 202 202 glVertex3f(0., view*0.5, this->ySize*0.5); 203 203 204 204 // oben links 205 glTexCoord2f(0., 0.);205 glTexCoord2f(0., this->offset); 206 206 glVertex3f(0., view*0.5, -this->ySize*0.5); 207 207
Note: See TracChangeset
for help on using the changeset viewer.