Changeset 1917 in orxonox.OLD for orxonox/trunk/core/environment.cc
- Timestamp:
- Jun 7, 2004, 9:32:51 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/core/environment.cc
r1896 r1917 28 28 { 29 29 30 31 for (int x = 0; x < 10; x++) 32 { 33 for (int y = 0; y < 10; y++) 34 { 35 mountainTest[x][y] = 0; 36 37 } 38 } 39 30 40 for (int x = 1; x < 9; x++) 31 41 { … … 54 64 55 65 glBegin(GL_LINES); 56 for (int x = 0; x < 10; x += 1)66 for (int x = 0; x < 9; x += 1) 57 67 { 58 for (int y = 0; y < 10; y += 1)68 for (int y = 0; y < 9; y += 1) 59 69 { 60 70 glVertex3f((float)(2*x), (float)(2*y), mountainTest[x][y]); … … 66 76 67 77 glBegin(GL_LINES); 68 for (int y = 0; y < 10; y += 1)78 for (int y = 0; y < 9; y += 1) 69 79 { 70 for (int x = 0; x < 10; x += 1)80 for (int x = 0; x < 9; x += 1) 71 81 { 72 82 glVertex3f((float)(2*x), (float)(2*y), mountainTest[x][y]);
Note: See TracChangeset
for help on using the changeset viewer.