Fixed typo

This commit is contained in:
Robert Osfield
2007-07-11 16:06:04 +00:00
parent 691a49d0fa
commit 095da72020
7 changed files with 18 additions and 18 deletions

View File

@@ -26,7 +26,7 @@ class OSG_EXPORT NodeTrackerCallback : public NodeCallback
public:
typedef std::vector< observer_ptr<Node> > ObserveredNodePath;
typedef std::vector< observer_ptr<Node> > ObserverNodePath;
void setTrackNodePath(const osg::NodePath& nodePath)
{
@@ -35,8 +35,8 @@ class OSG_EXPORT NodeTrackerCallback : public NodeCallback
std::copy(nodePath.begin(), nodePath.end(), std::back_inserter(_trackNodePath));
}
void setTrackNodePath(const ObserveredNodePath& nodePath) { _trackNodePath = nodePath; }
ObserveredNodePath& getTrackNodePath() { return _trackNodePath; }
void setTrackNodePath(const ObserverNodePath& nodePath) { _trackNodePath = nodePath; }
ObserverNodePath& getTrackNodePath() { return _trackNodePath; }
void setTrackNode(osg::Node* node);
osg::Node* getTrackNode() { return _trackNodePath.empty() ? 0 : _trackNodePath.back().get(); }
@@ -53,7 +53,7 @@ class OSG_EXPORT NodeTrackerCallback : public NodeCallback
protected:
ObserveredNodePath _trackNodePath;
ObserverNodePath _trackNodePath;
};