From Ulrich Hertlein, typo fixes
This commit is contained in:
parent
c9d19d7bff
commit
f6ace4a7d0
@ -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)
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user