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/GeoTreeSimplifier.cpp

    r895 r985  
    6565        { 
    6666                //      2006-02-22 
    67                 update  =       (activas - (6 * paramlod)) / 80; 
     67                update  =       long((activas - (6 * paramlod)) / 80); 
    6868                percent =       0.5; 
    6969                 
     
    128128         
    129129        //      2006-02-21. 
    130         update  =       mesh->mSubMesh[meshLeaves].mVertexBuffer->mVertexCount / 20; 
     130        update  =       long(mesh->mSubMesh[meshLeaves].mVertexBuffer->mVertexCount / 20); 
    131131        percent =       0.5; 
    132132         
     
    159159        pos=0; 
    160160 
    161         //      2006-02-21. 
    162         update  =       mesh->mSubMesh[meshLeaves].mIndexCount  / 20; 
     161        update  =       long(mesh->mSubMesh[meshLeaves].mIndexCount     / 20); 
    163162        percent =       0.5; 
    164163         
     
    739738                        //incializo criterio a un numero elevado 
    740739                        Hojasa[i].criterio = 1000; 
    741                         nhojasi = Hojasa[i].Cuantas_hojas; 
     740                        nhojasi = int(Hojasa[i].Cuantas_hojas); 
    742741                        //coplanaridad 
    743742                        for ( j =0; j<counth;j++) 
     
    749748                                        // ES COMO MÁXIMO 1 
    750749 
    751                                         nhojasj = Hojasa[j].Cuantas_hojas; 
     750                                        nhojasj = int(Hojasa[j].Cuantas_hojas); 
    752751 
    753752                                        if ( abs((nhojasi - nhojasj)) < 2) 
     
    790789                if ((Hojasa[i].existe == true) && (i != hojanueva)) 
    791790                {        
    792                         nhojasi = Hojasa[i].Cuantas_hojas; 
     791                        nhojasi = int(Hojasa[i].Cuantas_hojas); 
    793792                        //¿ SE HA DESACTIVADO LA HOJA_CRIT QUE GUARDABA LA HOJA? 
    794793                        if ( Hojasa[Hojasa[i].hoja_crit].existe == false) 
     
    805804                                                // ES COMO MÁXIMO 1 
    806805 
    807                                                 nhojasj = Hojasa[j].Cuantas_hojas; 
     806                                                nhojasj = int(Hojasa[j].Cuantas_hojas); 
    808807 
    809808                                                if ( abs((nhojasi - nhojasj)) < 2) 
     
    831830                        else 
    832831                        { // CALCULARE SI EL CRITERIO CON ESTA HOJA ES MENOR QUE EL ANTERIOR 
    833                                 nhojasj = Hojasa[hojanueva].Cuantas_hojas;//17/09/01 
     832                                nhojasj = int(Hojasa[hojanueva].Cuantas_hojas); 
    834833 
    835834                                if ( abs((nhojasi - nhojasj)) < 2) 
Note: See TracChangeset for help on using the changeset viewer.