Ignore:
Timestamp:
07/08/14 18:29:24 (11 years ago)
Author:
epyon
Message:
  • unified mesh_raw_channel and mesh_raw_index_channel
  • string_table cleaned up and implementation of creator split into a cc file
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/formats/md3_loader.cc

    r241 r280  
    377377        index = 0;
    378378        sint32 index_base = 0;
    379         mesh_raw_index_channel* ic = mesh_raw_index_channel::create< uint16 >( index_count );
     379        mesh_raw_channel* ic = mesh_raw_channel::create_index< uint16 >( index_count );
    380380        uint16* icp = (uint16*)ic->data;
    381381        for ( sint32 i = 0; i < num_surfaces; ++i )
     
    396396        result->add_channel( mc_pn );
    397397        result->add_channel( mc_t );
    398         result->set_index_channel( ic );
     398        result->add_channel( ic );
    399399        return result;
    400400}
Note: See TracChangeset for help on using the changeset viewer.