Changeset 451 for trunk/src/gfx/keyframed_mesh.cc
- Timestamp:
- 07/30/15 19:47:02 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gfx/keyframed_mesh.cc
r430 r451 93 93 } 94 94 } 95 m_last_frame = static_cast<uint32>( glm::floor( tick_time ) + anim->get_start() );95 m_last_frame = static_cast<uint32>( math::floor( tick_time ) + anim->get_start() ); 96 96 m_next_frame = m_last_frame + 1; 97 97 if ( m_next_frame > static_cast<uint32>( anim->get_end() ) ) m_next_frame = static_cast<uint32>( anim->get_start() ); 98 m_interpolation = tick_time - glm::floor( tick_time );98 m_interpolation = tick_time - math::floor( tick_time ); 99 99 } 100 100 }
Note: See TracChangeset
for help on using the changeset viewer.