From Alan Dickinson, change methods to virtual.
This commit is contained in:
parent
95a822b70d
commit
9510df9c2e
@ -276,7 +276,7 @@ class OSG_EXPORT AnimationPathCallback : public NodeCallback
|
|||||||
double getTimeMultiplier() const { return _timeMultiplier; }
|
double getTimeMultiplier() const { return _timeMultiplier; }
|
||||||
|
|
||||||
|
|
||||||
void reset();
|
virtual void reset();
|
||||||
|
|
||||||
void setPause(bool pause);
|
void setPause(bool pause);
|
||||||
bool getPause() const { return _pause; }
|
bool getPause() const { return _pause; }
|
||||||
@ -284,7 +284,7 @@ class OSG_EXPORT AnimationPathCallback : public NodeCallback
|
|||||||
/** Get the animation time that is used to specify the position along
|
/** Get the animation time that is used to specify the position along
|
||||||
* the AnimationPath. Animation time is computed from the formula:
|
* the AnimationPath. Animation time is computed from the formula:
|
||||||
* ((_latestTime-_firstTime)-_timeOffset)*_timeMultiplier.*/
|
* ((_latestTime-_firstTime)-_timeOffset)*_timeMultiplier.*/
|
||||||
double getAnimationTime() const;
|
virtual double getAnimationTime() const;
|
||||||
|
|
||||||
/** Implements the callback. */
|
/** Implements the callback. */
|
||||||
virtual void operator()(Node* node, NodeVisitor* nv);
|
virtual void operator()(Node* node, NodeVisitor* nv);
|
||||||
|
Loading…
Reference in New Issue
Block a user