Changeset 1322


Ignore:
Timestamp:
09/04/06 15:38:06 (18 years ago)
Author:
gumbau
Message:

Removed online degenerated vertices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoLodStripsLibrary.cpp

    r1136 r1322  
    475475 
    476476                        //      If the strips is not the first. 
    477                         /* 
    478                         if (strip != 0) 
     477                         
     478/*                      if (strip != 0) 
    479479                        { 
    480480                                indexBegin++; 
    481481                        } 
    482                         */ 
     482*/                       
    483483 
    484484                        //      If is the final strip 
     
    494494 
    495495                                //      Remove degenerated 
    496                                 //indexEnd--; 
     496//                              indexEnd--; 
    497497                        } 
    498498                         
     
    641641                for (SmallIntVector::iterator it=mStrips[i].begin(); it!=mStrips[i].end(); it++, ii++) 
    642642                { 
    643                         // repeat the first index of the strip: degenerate 
     643/*                      // repeat the first index of the strip: degenerate 
    644644                        if (lastindex==-1) 
    645645                        { 
     
    648648                                counter++; 
    649649                                ii++; 
    650                         } 
     650                        }*/ 
    651651                        lastindex=*it; 
    652652                        dataRetrievalInterface->SetIndex(ii,*it); 
     
    654654                } 
    655655 
    656                 // last repeat last vertex of the strip: degenerate 
     656/*              // last repeat last vertex of the strip: degenerate 
    657657                dataRetrievalInterface->SetIndex(ii,lastindex); 
    658658                counter++; 
    659                 ii++; 
     659                ii++;*/ 
    660660 
    661661                dataRetrievalInterface->SetNumValidIndices(ii); 
Note: See TracChangeset for help on using the changeset viewer.