Show
Ignore:
Timestamp:
01/28/09 12:59:06 (6 years ago)
Author:
robert
Message:

From Mathias Froehlich, "I have today built svn trunk on HP-UX and Solaris8.
I had to do two small changes to src/osgWidget/Input.cpp and
src/osgAnimation/Animation.cpp mainly because of name lookup problems.
"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgAnimation/Animation.cpp

    r9151 r9569  
    113113            t = _startTime; 
    114114        else if (t > _duration) 
    115             t = fmodf(t, _duration); 
     115            t = fmod(t, (float)_duration); 
    116116        //      std::cout << "t " << t << " duration " << _duration << std::endl; 
    117117        break; 
     
    122122        { 
    123123            int tt = (int) (t / _duration); 
    124             t = fmodf(t, _duration); 
     124            t = fmod(t, (float)_duration); 
    125125            if (tt%2) 
    126126                t = _duration - t;