Original Post
Hi. I have searched the forums, and found all sorts of help on rotating around a point, but I think I have confused myself. I have a point A at (2.0f, 0.0f, 3.0f) and point B at (3.5f, 3.0f, 3.0f). Notice that the z is the same, and will always stay the same. I want to find the point if I rotated B around A by x degrees, so that it is the same distance from A as it was before, but x degrees clockwise. Now, I know this is easy for some of you guys, but I have foxed myself by looking at all the 3d implementations, and I want need something simpler (I think) as the Z will always be the same. If anyone could provide a real quick snipet that helps I would appreciate the help. I know this is something I learnt at school, but damn if it isn't a long time since I was at school :)