Changeset 6099 in orxonox.OLD for branches/height_map/src/lib/graphics
- Timestamp:
- Dec 14, 2005, 1:24:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/height_map/src/lib/graphics/importer/height_map.cc
r5993 r6099 82 82 83 83 84 this->addVertex( 12*(heightMap->h - i) , (( (double)height)/4)-200 ,12*j);84 this->addVertex( 20*(heightMap->h - i) , (( (double)height)/0.3)-1200 ,20*j); 85 85 } 86 86 } … … 97 97 /* Two Triangles or ...*/ 98 98 99 this->addFace (3, VERTEX_ONLY,j + (i+1)*c,j+1+i*c , j + i*c );100 this->addFace (3, VERTEX_ONLY,j + (i+1)*c,j + (i+1)*c +1 ,j+i*c +1 );99 //this->addFace (3, VERTEX_ONLY,j + (i+1)*c,j+1+i*c , j + i*c ); 100 //this->addFace (3, VERTEX_ONLY,j + (i+1)*c,j + (i+1)*c +1 ,j+i*c +1 ); 101 101 102 102 /* ... one square*/ 103 103 104 //this->addFace (4 ,VERTEX_ONLY,j+i*c,j+(i+1)*c ,j + (i+1)*c +1, j +i*c+1 );104 this->addFace (4 ,VERTEX_ONLY,j+i*c,j+(i+1)*c ,j + (i+1)*c +1, j +i*c+1 ); 105 105 } 106 106
Note: See TracChangeset
for help on using the changeset viewer.