If you were talking to an idiot?

BlitzMax Forums/BlitzMax Beginners Area/If you were talking to an idiot?

How would you teach them what and how to use atan and atan2?

If you're wondering which idiot you would be talking to then that's me :)

Do you already have some knowledge on trigonometry in general?
Otherwise we need to teach you sin and cos first because tan is a function that uses both of them.

Do you already have some knowledge on trigonometry in general?


No, well, don't know. :/

Teach away :)

This is a quite good page for trigonometry and what their use is: http://aleph0.clarku.edu/~djoyce/java/trig/

On atan / atan2 : atan is the normal arcus tangens while atan2 is a version that normally only appears in programming languages. it takes the y and x components seperately instead of the result of y/x