If you were talking to an idiot?

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

Amon(Posted 2006) [#1]
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 :)


Dreamora(Posted 2006) [#2]
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.


Amon(Posted 2006) [#3]
Do you already have some knowledge on trigonometry in general?


No, well, don't know. :/

Teach away :)


Dreamora(Posted 2006) [#4]
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