Changeset 374 for trunk/src/formats/md5_loader.cc
- Timestamp:
- 05/26/15 17:35:06 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/formats/md5_loader.cc
r367 r374 344 344 vtc.tangent = glm::vec3(0); 345 345 346 std::sort( weights + start_weight, weights + start_weight + weight_count, [](const md5_weight& a, const md5_weight& b) -> bool { return a.bias > b.bias; } ); 346 stable_sort( weights + start_weight, weights + start_weight + weight_count, [] ( const md5_weight& a, const md5_weight& b ) -> bool { return a.bias > b.bias; } ); 347 //std::sort( weights + start_weight, weights + start_weight + weight_count, [](const md5_weight& a, const md5_weight& b) -> bool { return a.bias > b.bias; } ); 347 348 348 349 if ( weight_count > 4 )
Note: See TracChangeset
for help on using the changeset viewer.