Hi, Jean-Sébastien.
I'm gonna take advantage of the fact you are there and ask you one
thing. I tried using that last part of code you've given me, but my compiler
acused an error:
1>.\Classe Pick Handler.cpp(23) : error C2682: cannot use 'dynamic_cast' to
convert from 'osg::ref_ptr<T>' to 'osg::ShapeDrawable *'
1> with
1> [
1> T=osg::Drawable
1> ]
given that the line where the error ocurred was:
osg::ShapeDrawable* shapedrawable =
dynamic_cast<osg::ShapeDrawable*>(hitr->drawable);
Can you tell me what's wrong?
Renan M Z Mendes
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org