Added clear()

This commit is contained in:
Robert Osfield 2007-06-13 19:54:00 +00:00
parent 8c727acddc
commit a64dc27595

View File

@ -192,6 +192,8 @@ class OSG_EXPORT AnimationPath : public virtual osg::Object
bool empty() const { return _timeControlPointMap.empty(); } bool empty() const { return _timeControlPointMap.empty(); }
void clear() { _timeControlPointMap.clear(); }
/** Read the animation path from a flat ASCII file stream. */ /** Read the animation path from a flat ASCII file stream. */
void read(std::istream& in); void read(std::istream& in);