From Ulrich Hertlein, typo fixes

This commit is contained in:
Robert Osfield 2011-12-23 16:14:51 +00:00
parent c9d19d7bff
commit f6ace4a7d0
2 changed files with 3 additions and 3 deletions

View File

@ -296,7 +296,7 @@ class OSG_EXPORT Node : public Object
* *
* The most common use of these is during traversal of the scene graph. * The most common use of these is during traversal of the scene graph.
* For instance, when traversing the scene graph the osg::NodeVisitor does a bitwise * For instance, when traversing the scene graph the osg::NodeVisitor does a bitwise
* AND of its TraversalMask with the Node#s NodeMask to * AND of its TraversalMask with the Node's NodeMask to
* determine if the Node should be processed/traversed. * determine if the Node should be processed/traversed.
* *
* For example, if a Node has a NodeMask value of 0x02 (only 2nd bit set) * For example, if a Node has a NodeMask value of 0x02 (only 2nd bit set)

View File

@ -79,13 +79,13 @@ class OSG_EXPORT Referenced
inline int ref() const; inline int ref() const;
/** Decrement the reference count by one, indicating that /** Decrement the reference count by one, indicating that
a pointer to this object is referencing it. If the a pointer to this object is no longer referencing it. If the
reference count goes to zero, it is assumed that this object reference count goes to zero, it is assumed that this object
is no longer referenced and is automatically deleted.*/ is no longer referenced and is automatically deleted.*/
inline int unref() const; inline int unref() const;
/** Decrement the reference count by one, indicating that /** Decrement the reference count by one, indicating that
a pointer to this object is referencing it. However, do a pointer to this object is no longer referencing it. However, do
not delete it, even if ref count goes to 0. Warning, unref_nodelete() not delete it, even if ref count goes to 0. Warning, unref_nodelete()
should only be called if the user knows exactly who will should only be called if the user knows exactly who will
be responsible for, one should prefer unref() over unref_nodelete() be responsible for, one should prefer unref() over unref_nodelete()