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/md5_loader.cc

    r261 r280  
    145145                                        sstream >> num_tris;
    146146
    147                                         mesh_raw_index_channel* ch_i = mesh_raw_index_channel::create<uint32>( num_tris * 3 );
     147                                        mesh_raw_channel* ch_i = mesh_raw_channel::create_index<uint32>( num_tris * 3 );
    148148                                        uint32* vtx_i                = (uint32*)ch_i->data;
    149149                                        mesh->m_idata                = vtx_i;
    150150                                        uint32 idx = 0;
    151                                         mesh->set_index_channel( ch_i );
     151                                        mesh->add_channel( ch_i );
    152152
    153153                                        next_line( sstream );
Note: See TracChangeset for help on using the changeset viewer.