ember 2007 14:23
>>>>Till: OpenSceneGraph Users
>>>>Ämne: Re: [osg-users] Yaw angle
>>>>
>>>>
>>>>On Dec 10, 2007 12:40 PM, Pettersson Håkan
>>>><[EMAIL PROTECTED]> wrote:
>>>>> > Hello
>>>>
On Dec 10, 2007 12:40 PM, Pettersson Håkan
<[EMAIL PROTECTED]> wrote:
> > Hello
> >
> > How do I calculate the yaw angle that my cameraManipulator is
> > pointg at (-PI to +PI) ???
This question is open to lots of interpretation, first up what are you
defining the yaw angle against? Is your data
Pettersson Håkan wrote:
>> Hello
>>
>> How do I calculate the yaw angle that my cameraManipulator is
>> pointg at (-PI to +PI) ???
>>
>> /Hakan
Hi Håkan,
Relative to what? If you want it relative to the +Z axis, then use
atan2(zdir.x, zdir.z), being careful to put in a special case where the cam
> Hello
>
> How do I calculate the yaw angle that my cameraManipulator is
> pointg at (-PI to +PI) ???
>
> /Hakan
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
4 matches
Mail list logo