How would I rotate a point around another point (x, y, z) by a certain angle and around a certain axis?

cross posting is fun

Printable View

- 10-10-2002muttskirotation
How would I rotate a point around another point (x, y, z) by a certain angle and around a certain axis?

cross posting is fun - 10-10-2002Davros
You could use trig to represent the point in spherical cooridinates, (i.e. your point is represented as two angles & a radius). Move one or both angles, then convert back to cartesian.

However, I suspect there are much more effecient ways to do this using matrices (which I'm not familar with). - 10-10-2002XSquared
http://www.exhedra.com/DirectX4VB/Tu...M_Matrices.htm

yes, i know its for VB, but it works the same in any language - 10-10-2002Hammer
>>cross posting is fun

No, it's a pain in the backside and against the rules. Don't do it. Cross posted threads will (and have been) deleted.