I have two different points, and I'm trying to rotate one of the points about [0,0,0] so the 3D direction cosines (angle to the axes from the origin) will be equal – like aligning the points, but length of the vector doesn't matter, just the angle from the origin.
I have calculated the direction cosine for each axis and each point. I then tried subtracting the direction cosine angles then rotating one point by this, in each direction in turn. But the direction cosines of the new point position don't match… I feel like I might be doing something wrong when calculating the rotation angle required?
Any help would be great, thanks!
Best Answer