I meant the latter overload. I didn't have access to any osg stuff and
no compiler. Sorry for overload confusion, but it's good that you
found how to use osg::Quat.

On Sun, Apr 12, 2009 at 9:59 PM, Sergey <osgfo...@tevs.eu> wrote:
> You have a little mistake:
> THIS :
> Trans->setAttitude(osg::Quat(osg::DegreesToRadians(rotation_degree),
> fX, fY, fZ));
>  IS NOT RIGHT , It must be this way :
> Trans->setAttitude(osg::Quat(fX, fY, 
> fZ,osg::DegreesToRadians(rotation_degree)));
>
>  inline Quat( value_type x, value_type y, value_type z, value_type w )
>
> or this way:
> Trans->setAttitude(osg::Quat(osg::DegreesToRadians(rotation_degree),
> osg::Vec3(fX, fY, fZ)));
>
>  inline Quat( value_type angle, const Vec3f& axis)
>
> Thank you for advise!!!
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=10143#10143
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to