Changeset 392 for trunk/src/formats/assimp_loader.cc
- Timestamp:
- 06/11/15 16:23:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/formats/assimp_loader.cc
r383 r392 6 6 7 7 #include "nv/formats/assimp_loader.hh" 8 #include <unordered_map> 9 #include "nv/io/std_stream.hh" 8 #include "nv/stl/unordered_map.hh" 10 9 #include "nv/gfx/mesh_creator.hh" 11 10 #include "nv/lib/assimp.hh" … … 286 285 const aiScene* scene = (const aiScene*)m_scene; 287 286 vector< mesh_node_data > final_bones; 288 std::unordered_map< std::string, uint16 > names;287 unordered_map< std::string, uint16 > names; 289 288 for ( unsigned int m = 0; m < m_mesh_count; ++m ) 290 289 { … … 334 333 } 335 334 mesh_node_data* bones = new mesh_node_data[ final_bones.size() ]; 336 nv::raw_copy( final_bones.begin(), final_bones.end(), bones );335 raw_copy( final_bones.begin(), final_bones.end(), bones ); 337 336 return new mesh_nodes_data( "bones", final_bones.size(), bones ); 338 337 }
Note: See TracChangeset
for help on using the changeset viewer.