Changeset 280 for trunk/src/formats/md5_loader.cc
- Timestamp:
- 07/08/14 18:29:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/formats/md5_loader.cc
r261 r280 145 145 sstream >> num_tris; 146 146 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 ); 148 148 uint32* vtx_i = (uint32*)ch_i->data; 149 149 mesh->m_idata = vtx_i; 150 150 uint32 idx = 0; 151 mesh-> set_index_channel( ch_i );151 mesh->add_channel( ch_i ); 152 152 153 153 next_line( sstream );
Note: See TracChangeset
for help on using the changeset viewer.