Changeset 280 for trunk/src/formats/md3_loader.cc
- Timestamp:
- 07/08/14 18:29:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/formats/md3_loader.cc
r241 r280 377 377 index = 0; 378 378 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 ); 380 380 uint16* icp = (uint16*)ic->data; 381 381 for ( sint32 i = 0; i < num_surfaces; ++i ) … … 396 396 result->add_channel( mc_pn ); 397 397 result->add_channel( mc_t ); 398 result-> set_index_channel( ic );398 result->add_channel( ic ); 399 399 return result; 400 400 }
Note: See TracChangeset
for help on using the changeset viewer.