- #1
kevdoig
- 9
- 0
I'm looking for a method to rotate a 3D vector, and place it at an arbitary 3D point (x,y,z) without changing the vectors magnitude. I have briefly investigated eulers angles (mainly through wikipedia links etc), but don't fully understand the process yet.
As an example, given the vector : (3.6,1.6,0)
How could i rotate this by 45degrees on X axis.
Then again by 45degrees on the Y axis, as a separate rotation.
I would then like to visualise this vector at point (1,1,1), on a 3D plot i have created.(not sure if this effects anything...)
As an example, given the vector : (3.6,1.6,0)
How could i rotate this by 45degrees on X axis.
Then again by 45degrees on the Y axis, as a separate rotation.
I would then like to visualise this vector at point (1,1,1), on a 3D plot i have created.(not sure if this effects anything...)