Changeset 9569 for OpenSceneGraph/trunk/src/osgAnimation/Animation.cpp
- Timestamp:
- 01/28/09 12:59:06 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgAnimation/Animation.cpp
r9151 r9569 113 113 t = _startTime; 114 114 else if (t > _duration) 115 t = fmod f(t,_duration);115 t = fmod(t, (float)_duration); 116 116 // std::cout << "t " << t << " duration " << _duration << std::endl; 117 117 break; … … 122 122 { 123 123 int tt = (int) (t / _duration); 124 t = fmod f(t,_duration);124 t = fmod(t, (float)_duration); 125 125 if (tt%2) 126 126 t = _duration - t;
