Ignore:
Timestamp:
05/22/14 01:19:08 (11 years ago)
Author:
epyon
Message:
  • significant simplification of the md5 code
  • proper instancing for both md5 animations and meshes
  • transform_vectors
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gfx/keyframed_mesh.cc

    r239 r241  
    4444{
    4545        NV_ASSERT( m_tag_map, "TAGMAP FAIL" );
    46         const std::vector< transform >* transforms = m_tag_map->get_tag( tag );
     46        const transform_vector* transforms = m_tag_map->get_tag( tag );
    4747        NV_ASSERT( transforms, "TAG FAIL" );
    48         return interpolate( (*transforms)[ m_last_frame ], (*transforms)[ m_next_frame ], m_interpolation );
     48        return interpolate( transforms->get( m_last_frame ), transforms->get( m_next_frame ), m_interpolation );
    4949}
    5050
Note: See TracChangeset for help on using the changeset viewer.