Added empty() method as a convinience method for setting checking whether
an animation path contains any control points
This commit is contained in:
@@ -167,6 +167,8 @@ class SG_EXPORT AnimationPath : public virtual osg::Object
|
||||
|
||||
const TimeControlPointMap& getTimeControlPointMap() const { return _timeControlPointMap; }
|
||||
|
||||
bool empty() const { return _timeControlPointMap.empty(); }
|
||||
|
||||
/** read the anumation path from a flat ascii file stream.*/
|
||||
void read(std::istream& in);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user