Hi John, I think it OK to use RayIntersector in manipulators by default. But maybe we can even provide a callback for people who what to compute intersections themselves, for example, using some external collision libraries.
Wang Rui 2013/2/18 Robert Osfield <[email protected]> > Hi John, > > On 18 February 2013 08:03, PCJohn <[email protected]> wrote: > > One natural solution would be to use RayIntersector in > CameraManipulators. > > Another approach would be to provide Factory or Prototype approach to let > > the programmer choose the type of intersector. > > I'd go for just using the RayIntersector. > > Robert. > _______________________________________________ > 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
