🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest trigonometry Activity

Spam protection caused a duplicate of this post. Closing this one. https://gamedev.net/forums/topic/714968-calculating-the-far-distance-plan-based-on-pitch-and-yaw-for-a-map-renderer/

2,116 views
Advertisement
How to rotate a line around a point?

A rotation matrix is used. It's simple and it's standard.

10,671 views

By the way, whenever you have two real numbers that are the cosine and the sine of a number, you can think of them as a single complex number, z = cos(a)+i*sin(a) == exp(i*a) == polar(1,a). You can then recover the angle by computing a = atan2(imag(z),real(z)) == real(-i*log(z)) == arg(z).

13,574 views
Advertisement
Advertisement