Changeset 314 for trunk/src


Ignore:
Timestamp:
08/19/14 01:34:13 (11 years ago)
Author:
epyon
Message:
  • update( time ) removed from mesh_interface
File:
1 edited

Legend:

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

    r313 r314  
    136136
    137137
    138 void nv::keyframed_mesh_gpu::update( uint32 ms )
    139 {
     138void nv::keyframed_mesh_gpu::update_animation( animation_entry* anim, uint32 a_anim_time )
     139{
     140        keyframed_mesh::update_animation( anim, a_anim_time );
    140141        if ( m_loc_next_position == -1 ) return;
    141         animated_mesh::update( ms );
    142142        if ( m_gpu_last_frame != m_last_frame )
    143143        {
     
    199199}
    200200
    201 void nv::keyframed_mesh_cpu::update( uint32 ms )
    202 {
    203         animated_mesh::update( ms );
    204 
     201void nv::keyframed_mesh_cpu::update_animation( animation_entry* anim, uint32 a_anim_time )
     202{
     203        keyframed_mesh::update_animation( anim, a_anim_time );
    205204        // TODO: this could be done generic for any data
    206205        if ( m_has_tangent )
Note: See TracChangeset for help on using the changeset viewer.