Ignore:
Timestamp:
09/06/06 13:27:40 (18 years ago)
Author:
gumbau
Message:

Removed unneeded degenerateds in lodstrips

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Geom/shared/GTGeometry/include/VertexData.h

    r1069 r1325  
    2929        private: 
    3030                unsigned int numinds, numvalidinds; 
     31                unsigned int current_submesh; 
    3132        public: 
    32                 IndexData(unsigned int numi):numinds(numi),numvalidinds(numi){} 
     33                IndexData(unsigned int numi):numinds(numi),numvalidinds(numi){ current_submesh=0; } 
    3334                virtual ~IndexData(void){} 
    3435 
     
    3738                virtual void End(void)=0; 
    3839 
    39 //              virtual void UpdateData(int*,int)=0; 
    40  
    4140                virtual unsigned int GetIndex(unsigned int) const =0; 
    4241                unsigned int GetNumMaxIndices(void) const { return numinds; } 
    4342                unsigned int GetNumValidIndices(void) const { return numvalidinds; } 
    44                 void SetNumValidIndices(unsigned int valid){ numvalidinds=valid; } 
     43                void SetNumValidIndices(unsigned int valid){ numvalidinds=valid; } // this should not be called from client applications 
     44                void SetCurrentSubmesh(unsigned int c){ current_submesh=c; }  // this should not be called from client applications 
     45                unsigned int GetCurrentSubmesh(void) const { return current_submesh; } 
    4546        }; 
    4647 
Note: See TracChangeset for help on using the changeset viewer.