Hi,

Looking in the osg\BoundingBox template it seems to have a function radius2, 
this function seems to return 1/4 of the diameter squared, is there a reason 
for this?

Code:

return 0.25*((_max-_min).length2());



I thought the following would be a more accurate radius2 function

Code:

return ((_max-_min)*0.5).length2();




Thank you!

Cheers,
Jethro[/code]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=62584#62584





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to