16.01.2011, 19:03
Quote:
If you need a start point for searching, this is called trigonometry. Note that using tan as in your first example is likely more complex than you think because you have to take in to account the SIGNS of both sides, that's why there is an atan2 function (common and well documented on the internet).
|