Changeset 323 for trunk/src/gfx/skeletal_mesh.cc
- Timestamp:
- 08/26/14 04:03:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gfx/skeletal_mesh.cc
r319 r323 53 53 for ( size_t j = 0; j < 4; ++j ) 54 54 { 55 int index =vert.boneindex[j];56 float weight = vert.boneweight[j];55 unsigned index = (unsigned)vert.boneindex[j]; 56 float weight = vert.boneweight[j]; 57 57 const quat& orient = m_transform[index].get_orientation(); 58 58 const transform& offset = m_pos_offset[index]; … … 152 152 if ( bi != bone_names.end() ) 153 153 { 154 bone_id = bi->second;154 bone_id = (sint16)bi->second; 155 155 } 156 156 m_bone_ids[n] = bone_id;
Note: See TracChangeset
for help on using the changeset viewer.