- Timestamp:
- Apr 19, 2005, 6:59:39 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/primitive_model.cc
r3895 r3896 163 163 p1 = 2*i+1; 164 164 p2 = 2*i+2; 165 if (i <= detail);166 165 p3 = 2*i+4; 167 166 p4 = 2*i+3; … … 171 170 this->addFace(3, VERTEX_ONLY, p2, p3, 2*detail+2); 172 171 } 173 addFace(4, VERTEX_ONLY, 2*detail-1, 2*detail, 2, 1); 172 // caps 173 this->addFace(4, VERTEX_ONLY, 2*detail-1, 2*detail, 2, 1); 174 174 this->addFace(3, VERTEX_ONLY, 1, 2*detail-1, 2*detail+1); 175 175 this->addFace(3, VERTEX_ONLY, 2*detail, 2, 2*detail+2);
Note: See TracChangeset
for help on using the changeset viewer.