- Timestamp:
- 05/24/06 13:48:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoTreeSimplifier.cpp
r895 r985 65 65 { 66 66 // 2006-02-22 67 update = (activas - (6 * paramlod)) / 80;67 update = long((activas - (6 * paramlod)) / 80); 68 68 percent = 0.5; 69 69 … … 128 128 129 129 // 2006-02-21. 130 update = mesh->mSubMesh[meshLeaves].mVertexBuffer->mVertexCount / 20;130 update = long(mesh->mSubMesh[meshLeaves].mVertexBuffer->mVertexCount / 20); 131 131 percent = 0.5; 132 132 … … 159 159 pos=0; 160 160 161 // 2006-02-21. 162 update = mesh->mSubMesh[meshLeaves].mIndexCount / 20; 161 update = long(mesh->mSubMesh[meshLeaves].mIndexCount / 20); 163 162 percent = 0.5; 164 163 … … 739 738 //incializo criterio a un numero elevado 740 739 Hojasa[i].criterio = 1000; 741 nhojasi = Hojasa[i].Cuantas_hojas;740 nhojasi = int(Hojasa[i].Cuantas_hojas); 742 741 //coplanaridad 743 742 for ( j =0; j<counth;j++) … … 749 748 // ES COMO MÁXIMO 1 750 749 751 nhojasj = Hojasa[j].Cuantas_hojas;750 nhojasj = int(Hojasa[j].Cuantas_hojas); 752 751 753 752 if ( abs((nhojasi - nhojasj)) < 2) … … 790 789 if ((Hojasa[i].existe == true) && (i != hojanueva)) 791 790 { 792 nhojasi = Hojasa[i].Cuantas_hojas;791 nhojasi = int(Hojasa[i].Cuantas_hojas); 793 792 //¿ SE HA DESACTIVADO LA HOJA_CRIT QUE GUARDABA LA HOJA? 794 793 if ( Hojasa[Hojasa[i].hoja_crit].existe == false) … … 805 804 // ES COMO MÁXIMO 1 806 805 807 nhojasj = Hojasa[j].Cuantas_hojas;806 nhojasj = int(Hojasa[j].Cuantas_hojas); 808 807 809 808 if ( abs((nhojasi - nhojasj)) < 2) … … 831 830 else 832 831 { // CALCULARE SI EL CRITERIO CON ESTA HOJA ES MENOR QUE EL ANTERIOR 833 nhojasj = Hojasa[hojanueva].Cuantas_hojas;//17/09/01832 nhojasj = int(Hojasa[hojanueva].Cuantas_hojas); 834 833 835 834 if ( abs((nhojasi - nhojasj)) < 2)
Note: See TracChangeset
for help on using the changeset viewer.