Hi,
When I try this code, I got an error 'class osgGA::TrackballManipulator' has
no member named 'setAllThrow'|
Code:
osg::ref_ptrosgGA::TrackballManipulator trackball = new
osgGA::TrackballManipulator();
trackball-setAllThrow(true);
Why?
Thank you!
Cheers,
John
You mistyped it - it's setAllowThrow, not setAllThrow.
Cheers,
Tom
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32242#32242
___
osg-users mailing list
osg-users@lists.openscenegraph.org
I have some source code where I use a trackballmanipulator to rotate a
terrain. If I drag the mouse I can set the terrain spinning. How do I
programatically stop this (i.e., without clicking the mouse again)? I
tried setting Manipulator-setRotation(last_saved_angles), which does
reset it , but
Hi Mike,
You need just to set the throw flag of the trackball manipulator to false.
See setAllowThrow method.
Mourad
On Fri, Mar 19, 2010 at 8:24 PM, Mike Greene mgre...@hiwaay.net wrote:
I have some source code where I use a trackballmanipulator to rotate a
terrain. If I drag the mouse I
4 matches
Mail list logo