Hi Ulrich, Ulrich Hertlein <[email protected]> (12/05/2009): > No that can never work. asPAT() does a dynamic_cast<> as you say, so > you can convert a MatrixTransform to any class it's derived from but > not to a class that itself is derived from MT (such as PAT). > > You'll need to get the information you require from the Matrix.
thanks for confirming; I've implemented extracting the info from the matrix (which was rather trivial by the way), but I also wanted to make sure I wasn't missing anything obvious. :) Cheers, -- Cyril Brulebois
signature.asc
Description: Digital signature
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

