Right,

I was pretty sure that was a typo but I didn't want to assume that.

-- Rick


On 5/2/07, Robert Osfield <[EMAIL PROTECTED]> wrote:

On 5/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> - On page 60, there is the line that says "In the typical case where a
> node has a single parent (getNumParents() returns 0), ..."  Should that be a
> 1?  or does it really return a 0 if there is a single parent?  If so, that
> should maybe be explained more.
>

Just for clarfication.

When a node has no parents getNumParents() == 0
When a node has 1 parent getNumParents() == 1, that parent is accessible
via getParent(0)
When a node has 5 parent getNumParents() == 5, and parents range from
getParent(0)...getParent(4)


Robert.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to