Changeset 411 for trunk/src/formats/md5_loader.cc
- Timestamp:
- 07/09/15 12:19:30 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/formats/md5_loader.cc
r406 r411 159 159 md5_vtx_t* tdata = nullptr; 160 160 { 161 mesh_raw_channel* ch_pnt = mesh_raw_channel::create<md5_vtx_pnt>( num_verts );162 mesh_raw_channel* ch_t = mesh_raw_channel::create<md5_vtx_t>( num_verts );163 mesh_raw_channel* ch_pntiw = mesh_raw_channel::create<md5_vtx_pntiw>( num_verts );161 raw_data_channel* ch_pnt = raw_data_channel::create<md5_vtx_pnt>( num_verts ); 162 raw_data_channel* ch_t = raw_data_channel::create<md5_vtx_t>( num_verts ); 163 raw_data_channel* ch_pntiw = raw_data_channel::create<md5_vtx_pntiw>( num_verts ); 164 164 tdata = reinterpret_cast< md5_vtx_t* >( ch_t->data ); 165 165 mesh->add_channel( ch_pnt ); … … 190 190 sstream >> num_tris; 191 191 192 mesh_raw_channel* ch_i = mesh_raw_channel::create_index<uint32>( num_tris * 3 );192 raw_data_channel* ch_i = raw_data_channel::create_index<uint32>( num_tris * 3 ); 193 193 uint32* vtx_i = reinterpret_cast< uint32* >( ch_i->data ); 194 194 uint32 idx = 0; … … 256 256 nodes[i].target_id = -1; 257 257 nodes[i].data = new key_data; 258 nodes[i].data->add_channel( key_raw_channel::create< md5_key_t >( num_frames ) );258 nodes[i].data->add_channel( raw_data_channel::create< md5_key_t >( num_frames ) ); 259 259 next_line( sstream ); 260 260 }
Note: See TracChangeset
for help on using the changeset viewer.