- Timestamp:
- 05/23/05 08:37:29 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/TestCullingTerrain/TestCullingTerrainApplication.cpp
r107 r108 740 740 void MouseQueryListener::setCurrentFrameInfo(Real timeElapsed) 741 741 { 742 //-- find right frame relative to elapsed frame time742 //-- find current frame relative to elapsed frame time 743 743 mTimeElapsed -= timeElapsed; 744 744 … … 746 746 { 747 747 mTimeElapsed += mFrameInfo[mCurrentFrame ++].timeElapsed; 748 /*std::stringstream d;749 d << StringConverter::toString(mTimeElapsed) << " "750 << StringConverter::toString(timeElapsed) << " "751 << StringConverter::toString(mFrameInfo[mCurrentFrame - 1].timeElapsed)752 << " " << mCurrentFrame;753 LogManager::getSingleton().logMessage(d.str());*/754 748 } 755 749 … … 769 763 mCamNode->setPosition(camPos); 770 764 mCamNode->setOrientation(camOrienation); 771 /* 772 std::stringstream d; 773 d << "old pos: " << StringConverter::toString(old_frame.position) << "\n" 774 << "interp pos: " << StringConverter::toString(camPos) << "\n" 775 << " new pos: " << StringConverter::toString(new_frame.position); 776 LogManager::getSingleton().logMessage(d.str());*/ 777 765 778 766 // stop replay after a full walkthrough 779 767 if (mCurrentFrame == (int)mFrameInfo.size() - 1)
Note: See TracChangeset
for help on using the changeset viewer.