Ignore:
Timestamp:
05/24/06 13:48:26 (18 years ago)
Author:
gumbau
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Geom/shared/GTGeometry/src/libs/leaves/Arbol.cpp

    r895 r985  
    7979void Arbol::ReadVertices(const Geometry::SubMesh *submesh) 
    8080{ 
    81         int countv=submesh->mVertexBuffer->mVertexCount; 
     81        int countv= int(submesh->mVertexBuffer->mVertexCount); 
    8282        vertexdata = create_vertex_data_func(2*countv); 
    8383        Hojas = new Hoja[countv*2]; 
     
    361361void Arbol::ReadLeafs(const Geometry::SubMesh *submesh) 
    362362{ 
    363         int numtris = submesh->mIndexCount / 3; 
     363        int numtris = int(submesh->mIndexCount / 3); 
    364364        nHojas =  numtris / 2; 
    365365        for (int h=0; h<nHojas; h++) 
     
    477477{ 
    478478        FILE* fp_simpli; 
    479         char linea[256], str[10]; 
     479        char linea[256]; 
    480480        int v0, v1, v2, v3, tn, tv1,tv2, e=0; 
    481481 
     
    679679{        
    680680        vertexdata->Begin(); 
    681         for (unsigned int i=0; i<nHojas; i++) 
     681        for (int i=0; i<nHojas; i++) 
    682682        {        
    683683                const float* lanormal = Hojas[i].Normal; 
Note: See TracChangeset for help on using the changeset viewer.