Hi Valery, On Fri, Jun 6, 2008 at 2:51 PM, Валерий Быков <[EMAIL PROTECTED]> wrote: > Thanks for answer, it is good thought that clone() is used for copying > of objects with unknown type, but in my example I don't know exact type > of copied Transform and therefore can't copy it directly.
What you could do is write a macro or a template functor for cloning objects - to hide the dynamic_cast<> if you really want to write less code. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
