Ignore:
Timestamp:
07/30/15 19:47:02 (10 years ago)
Author:
epyon
Message:
  • math library started
File:
1 edited

Legend:

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

    r430 r451  
    9393                        }
    9494                }
    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() );
    9696                m_next_frame    = m_last_frame + 1;
    9797                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 );
    9999        }
    100100}
Note: See TracChangeset for help on using the changeset viewer.