Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2006, 11:19:52 PM (18 years ago)
Author:
patrick
Message:

bsp: reading the tex vecs informations

File:
1 edited

Legend:

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

    r8418 r8420  
    323323int MD3Data::readMeshTexVecs(FILE* pFile, int fileOffset, int mesh)
    324324{
     325  this->meshes[mesh]->texVecs = new MD3TexVecs[this->meshes[mesh]->header->vertexNum];
     326  fread(this->meshes[mesh]->texVecs, 1, sizeof(MD3TexVecs), pFile);
     327
     328  return this->meshes[mesh]->header->vertexNum * sizeof(MD3TexVecs);
     329}
     330
     331
     332/**
     333 * reading in the mesh vertices
     334 */
     335int MD3Data::readMeshVertices(FILE* pFile, int fileOffset, int mesh)
     336{
    325337  return 0;
    326338}
    327339
    328 
    329 /**
    330  * reading in the mesh vertices
    331  */
    332 int MD3Data::readMeshVertices(FILE* pFile, int fileOffset, int mesh)
    333 {
    334   return 0;
    335 }
    336 
    337 }
    338 
    339 
    340 
    341 
    342 
    343 
    344 
     340}
     341
     342
     343
     344
     345
     346
     347
Note: See TracChangeset for help on using the changeset viewer.