Yep, a big typo. "Off by one" -- common programming mistake. :-)
 
This, and many other typos, will be fixed in the new revision, which should
be available in a few weeks. Thanks to everyone for their feedback and
comments.
   -Paul

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, May 02, 2007 7:34 AM
To: osg users
Subject: Re: [osg-users] Quick Start Guide feedback request


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]  <mailto:[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