Hi Cedric, I think the each of parameters should actually be cast up to an unsigned int. The operator() methods that users implement would be usually be (unsigned int, unsigned int, unsigned int). This should be happening automatically right now.
Could you provide the actual compile error you are getting? Robert. On Thu, Dec 9, 2010 at 3:14 PM, Cedric Pinson <[email protected]> wrote: > Hi Robert, > > > The triangle index functor trigger a wrong function signature for > triangle fan, I have added a static cast on first to call operator() > with the 3 elements of the same type. > > include/osg/TriangleIndexFunctor:187: error: call of overloaded > ‘operator()(unsigned int&, const unsigned char&, const unsigned char&)’ > is ambiguous > > Need to be tested on other gcc/ visual C ... > > Regards, > Cedric > > -- > Provide OpenGL, WebGL and OpenSceneGraph services > +33 659 598 614 Cedric Pinson mailto:[email protected] > http://www.plopbyte.net > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
