Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8428 in orxonox.OLD for branches/bsp_model/src


Ignore:
Timestamp:
Jun 15, 2006, 12:28:59 AM (18 years ago)
Author:
patrick
Message:

bsp: texvecs, textures and triangles read well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/graphics/importer/md3/md3_data.cc

    r8427 r8428  
    286286      else if( localFileOffset == this->meshes[i]->header->textureStart && !bTextures)
    287287      {
    288         fileOffset += this->readMeshTextures(pFile, localFileOffset, i);
     288        localFileOffset += this->readMeshTextures(pFile, localFileOffset, i);
    289289        bTextures = true;
    290290      }
     
    294294        bTexVecs = true;
    295295      }
    296       else if( fileOffset == this->meshes[i]->header->vertexStart && !bVertices)
     296      else if( localFileOffset == this->meshes[i]->header->vertexStart && !bVertices)
    297297      {
    298298        localFileOffset += this->readMeshVertices(pFile, localFileOffset, i);
     
    349349{
    350350  PRINTF(0)("Reading Mesh TexVecs\n");
     351
    351352  this->meshes[mesh]->texVecs = new MD3TexVecs[this->meshes[mesh]->header->vertexNum];
    352353  fread(this->meshes[mesh]->texVecs, 1, sizeof(MD3TexVecs), pFile);
Note: See TracChangeset for help on using the changeset viewer.