Converted cout's to notify's.

This commit is contained in:
Robert Osfield
2003-08-31 22:17:53 +00:00
parent 6bb951a5bb
commit 5400f8293b
2 changed files with 2 additions and 554 deletions

View File

@@ -144,8 +144,8 @@ void AnimationPathManipulator::handleFrame( double time )
if (delta>=_animationPath->getPeriod())
{
double frameRate = (double)_numOfFramesSinceStartOfTimedPeriod/delta;
std::cout <<"AnimatonPath completed in "<<delta<<" seconds, completing "<<_numOfFramesSinceStartOfTimedPeriod<<" frames,"<<std::endl;
std::cout <<" average frame rate = "<<frameRate<<std::endl;
osg::notify(osg::INFO) <<"AnimatonPath completed in "<<delta<<" seconds, completing "<<_numOfFramesSinceStartOfTimedPeriod<<" frames,"<<std::endl;
osg::notify(osg::INFO) <<" average frame rate = "<<frameRate<<std::endl;
// reset counters for next loop.
_realStartOfTimedPeriod = time;