Hi, I have the following code:

osg::Group *parent = dynamic_cast<osg::Group *>(node->getChild(0));

Here, if I want to use "osg::ref_ptr<osg::Group>" instead of "osg::Group *",
how can I implement it?
Thanks!
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to