Re: [osg-users] Rotating a vector by a quat

2010-06-30 Thread Roberts, Gareth (UK)
: [osg-users] Rotating a vector by a quat *** WARNING *** This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. Hi, I am looking for an easy way to rotate a vec3d by a quat

[osg-users] Rotating a vector by a quat

2010-06-29 Thread John Galt
Hi, I am looking for an easy way to rotate a vec3d by a quat(roll, pitch, yaw). So if my vector is defined by (x,y,z) how do I figure out what the resultant of a spatial rotation of (roll, pitch, yaw) would be? I have calculated the final position of the vector using math but is there any