[osg-submissions] osg::Object::clone

Jean-Sébastien Guay jean-sebastien.guay at cm-labs.com
Fri Jun 6 06:24:06 PDT 2008


Hello Stephan,

> To my knowledge, the code will fail because the c++compiler will call 
> osg::Object::clone and not osg::Transform::clone because the function 
> signatures differ (they return different types of objects).

Ah, ok, so that's the catch. Thanks for explaining.

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.guay at cm-labs.com
                                http://www.cm-labs.com/
                         http://whitestar02.webhop.org/


More information about the osg-submissions mailing list