Hi Akos,

Akos Balazs wrote:


What is actually the difference between pnode->getVolume() and pnode->getVolume(false) ? From the docs it seems they're equal, since Node::getVolume(bool update) is almost the same as Node::getVolume(void), and certainly seems to be the same when update is set to false.

They are. I just cut-n-pasted this from code that I had lying around.

Also, why do you need to call DynamicVolume::instanceChanged() ? This doesn't seem to be very intuitive (and also Gerrit's similar example seems to omit this) plus e.g. DynamicVolume::extendBy() seems to call it anyway...

Again, I just cut-n-pasted it from code that was created before some of the later amenities of OpenSG were developed. ;)

   Dirk



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to