Hi Robert,

On Thu, Oct 20, 2011 at 12:53 PM, Robert Kern <[email protected]> wrote:
> I think I might have some bigger issues.
>
> The ouput of the following lines of code is consistantly "coinPos 0 0 0"
>
>
> coinTranslate->setPosition(osg::Vec3d(-26.402, 4.991, 0));
>                osg::Vec3d coinPos = coinTranslate->getPosition();
>
>                cout<<"coinPos "<<coinPos[0]<<' '<<coinPos[1]<<' 
> '<<coinPos[2]<<endl;

The setPosition and getPosition are both simply inline methods that
shouldn't offer opportunities for values to go astray so the results
you are reporting are very odd indeed.  I can offer no explanation to
why this might be happening.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to