Changeset 392 for trunk/src/gfx/skeletal_mesh.cc
- Timestamp:
- 06/11/15 16:23:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gfx/skeletal_mesh.cc
r383 r392 7 7 #include "nv/interface/context.hh" 8 8 #include "nv/interface/device.hh" 9 #include "nv/stl/unordered_map.hh" 9 10 10 11 nv::skeletal_mesh_cpu::skeletal_mesh_cpu( context* a_context, const mesh_data* a_mesh_data, const mesh_nodes_data* bones ) … … 89 90 if ( !m_node_data->is_flat() ) 90 91 { 91 m_children = new std::vector< uint32 >[ node_count ];92 m_children = new vector< uint32 >[ node_count ]; 92 93 for ( uint32 n = 0; n < node_count; ++n ) 93 94 { … … 132 133 { 133 134 if ( m_prepared ) return; 134 std::unordered_map< std::string, nv::uint16 > bone_names;135 unordered_map< std::string, nv::uint16 > bone_names; 135 136 m_offsets = new mat4[ bones->get_count() ]; 136 137 for ( nv::uint16 bi = 0; bi < bones->get_count(); ++bi )
Note: See TracChangeset
for help on using the changeset viewer.