Hi Kristofer, On 27 January 2014 19:56, Kristofer Tingdahl <[email protected]>wrote:
> After thinking a bit more of it, would it not be an idea to integrate the > MultiTouchTrackBallManipulator into the TrackballManipulator, and thus only > have one. Please advice, as if you agree, I can do it and send you a > revision. > Longer term I think having multi-touch support integrated into the main manipulators is the sensible thing to do, so replacing TrackballManipulator with MultiTouchTrackBallManipulator might be one such step. However, I'm not yet familiar enough with multi-touch work and the MultiTouchTrackBallManipulator to make a decision right now. So for now, I'd suggest just add the virtual methods of the MultiTouchTrackBallManipulator so you can customize it how you want, just send along the header. Adding virtual methods to a class that is only called once per frame is generally a pretty easy decision as there is little downside. Methods such as Vec classes etc. that are low level I am more strict about when and when not to use virtual methods. Robert.
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
