Added support for recording the animation paths relative to an 0.0 start

time.
This commit is contained in:
Robert Osfield
2004-03-26 11:04:37 +00:00
parent c46855976c
commit a48460c27c
2 changed files with 13 additions and 5 deletions

View File

@@ -180,6 +180,7 @@ class OSGPRODUCER_EXPORT Viewer : public OsgCameraGroup, public osgGA::GUIAction
osg::ref_ptr<osg::NodeVisitor> _updateVisitor;
bool _recordingAnimationPath;
double _recordingStartTime;
osg::ref_ptr<osg::AnimationPath> _animationPath;
// record the current position and orientation of the view.