Ignore:
Timestamp:
05/25/06 14:26:04 (18 years ago)
Author:
gumbau
Message:
 
File:
1 edited

Legend:

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

    r985 r986  
    84488448                        { 
    84498449                                v_indices                                                               =               mi_vector[i]; 
    8450                                 geoSubMesh->mIndexCount +=      v_indices.size() + 2; 
    8451  
     8450                                geoSubMesh->mIndexCount +=      v_indices.size() /*+ 2*/; 
     8451 
     8452                                /* 
    84528453                                //      Insert a new vertex if the strip es odd. 
    84538454                                if(oddStrip) 
     
    84658466                                        oddStrip        =       FALSE; 
    84668467                                } 
     8468                                */ 
    84678469                        } 
    84688470 
     
    84978499                        //----------------------- 
    84988500 
    8499  
     8501                        /* 
    85008502                        //      Number of vertices of a strip odd or even. 
    85018503                        if(v_indices.size() % 2) 
     
    85078509                                oddStrip        =       FALSE; 
    85088510                        } 
     8511                        */ 
    85098512 
    85108513                        //      Para todas las tiras menos la primera. 
    8511                         for(i   =       2;i <= num_tiras;i++) 
     8514                        for(i   =       2;      i <= num_tiras; i++) 
    85128515                        { 
     8516                                 
    85138517                                /*      copia en el inicio de la tira el final de la anterior. 
    85148518                                                triangulos degenerados. */ 
     8519                                /* 
    85158520                                geoSubMesh->mIndex[totalStripIndices++] =       geoSubMesh-> 
    85168521                                        mIndex[totalStripIndices-1]; 
     8522                                */ 
    85178523 
    85188524                                v_indices                                                               =       mi_vector[i]; 
     
    85238529                                                triangulos degenerados. 
    85248530                                                */ 
     8531                                 
    85258532                                geoSubMesh->mIndex[totalStripIndices++] =       v_indices[0]; 
    85268533 
     
    85298536 
    85308537                                //      Triangulo Degenerado. 
    8531                                 geoSubMesh->mIndex[totalStripIndices++] =       v_indices[0]; 
    8532  
     8538                                //geoSubMesh->mIndex[totalStripIndices++]       =       v_indices[0]; 
     8539 
     8540                                /* 
    85338541                                //      Insert a new vertex if the strip es odd. 
    85348542                                if(oddStrip) 
     
    85478555                                        oddStrip        =       FALSE; 
    85488556                                } 
    8549  
     8557                                */ 
     8558                                 
    85508559                                //      Copia la tira en curso en el array de indices. 
    85518560                                for(j=1;j<v_indices.size();j++) 
Note: See TracChangeset for help on using the changeset viewer.