- Timestamp:
- 05/24/06 13:48:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/libs/leaves/Arbol.cpp
r895 r985 79 79 void Arbol::ReadVertices(const Geometry::SubMesh *submesh) 80 80 { 81 int countv= submesh->mVertexBuffer->mVertexCount;81 int countv= int(submesh->mVertexBuffer->mVertexCount); 82 82 vertexdata = create_vertex_data_func(2*countv); 83 83 Hojas = new Hoja[countv*2]; … … 361 361 void Arbol::ReadLeafs(const Geometry::SubMesh *submesh) 362 362 { 363 int numtris = submesh->mIndexCount / 3;363 int numtris = int(submesh->mIndexCount / 3); 364 364 nHojas = numtris / 2; 365 365 for (int h=0; h<nHojas; h++) … … 477 477 { 478 478 FILE* fp_simpli; 479 char linea[256] , str[10];479 char linea[256]; 480 480 int v0, v1, v2, v3, tn, tv1,tv2, e=0; 481 481 … … 679 679 { 680 680 vertexdata->Begin(); 681 for ( unsignedint i=0; i<nHojas; i++)681 for (int i=0; i<nHojas; i++) 682 682 { 683 683 const float* lanormal = Hojas[i].Normal;
Note: See TracChangeset
for help on using the changeset viewer.