Changeset 985 for GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoMesh.cpp
- Timestamp:
- 05/24/06 13:48:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoMesh.cpp
r980 r985 146 146 if (!objmesh.mSubMesh[i].mBones.empty()) 147 147 { 148 for ( int j = 0; j < objmesh.mSubMesh[i].mBones.size(); j++)148 for (unsigned int j = 0; j < objmesh.mSubMesh[i].mBones.size(); j++) 149 149 { 150 150 mSubMesh[i].mBones.push_back(objmesh.mSubMesh[i].mBones[j]); … … 164 164 if (!objmesh.mBones.empty()) 165 165 { 166 for ( int j = 0; j < objmesh.mBones.size(); j++)166 for (unsigned int j = 0; j < objmesh.mBones.size(); j++) 167 167 { 168 168 mBones.push_back(objmesh.mBones[j]); … … 263 263 if (!objmesh.mSubMesh[i].mBones.empty()) 264 264 { 265 for ( int j = 0; j < objmesh.mSubMesh[i].mBones.size(); j++)265 for (unsigned int j = 0; j < objmesh.mSubMesh[i].mBones.size(); j++) 266 266 { 267 267 mSubMesh[i].mBones.push_back(objmesh.mSubMesh[i].mBones[j]); … … 281 281 if (!objmesh.mBones.empty()) 282 282 { 283 for ( int j = 0; j < objmesh.mBones.size(); j++)283 for (unsigned int j = 0; j < objmesh.mBones.size(); j++) 284 284 { 285 285 mBones.push_back(objmesh.mBones[j]); … … 428 428 } 429 429 430 acumVerts += mSubMesh[i].mVertexBuffer->mVertexCount;430 acumVerts += long(mSubMesh[i].mVertexBuffer->mVertexCount); 431 431 432 432 // Copiar las tiras … … 439 439 mesh->mSubMesh[i].mStrip = new Index*[mSubMesh[i].mStripCount]; 440 440 441 offset = &(mesh->mSubMesh[i].mIndex[0]) - &(mSubMesh[i].mIndex[0]);441 offset = int(&(mesh->mSubMesh[i].mIndex[0]) - &(mSubMesh[i].mIndex[0])); 442 442 443 443 for (size_t j = 0; j < mSubMesh[i].mStripCount; j++) … … 499 499 } 500 500 501 acumVerts += mSubMesh[i].mVertexBuffer->mVertexCount;501 acumVerts += long(mSubMesh[i].mVertexBuffer->mVertexCount); 502 502 } 503 503
Note: See TracChangeset
for help on using the changeset viewer.