Changeset 412 for trunk/src/formats/assimp_loader.cc
- Timestamp:
- 07/09/15 14:40:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/formats/assimp_loader.cc
r411 r412 169 169 } 170 170 171 raw_data_channel* ichannel = raw_data_channel::create _index( USHORT,mesh->mNumFaces * 3 );171 raw_data_channel* ichannel = raw_data_channel::create< index_u16 >( mesh->mNumFaces * 3 ); 172 172 data->add_channel( ichannel ); 173 173 uint16* indices = reinterpret_cast<uint16*>( ichannel->data ); … … 317 317 raw_data_channel* channel = meshes[m].get_raw_channels()[0]; 318 318 assimp_skinned_vtx* va = reinterpret_cast< assimp_skinned_vtx* >( channel->data ); 319 for ( unsigned v = 0; v < channel-> count; ++v )319 for ( unsigned v = 0; v < channel->element_count(); ++v ) 320 320 { 321 321 assimp_skinned_vtx& vertex = va[v];
Note: See TracChangeset
for help on using the changeset viewer.