How do I get the inverse of cosine, sine and tangent in C++, I was looking through Math.h but couldn't find anything.
How do I get the inverse of cosine, sine and tangent in C++, I was looking through Math.h but couldn't find anything.
acos(), asin(), atan().
BTW: in C++ you should use <cmath>
Kurt
Ah right yes, sorry stupid question.
It said acos was cosine of an arc which I know to be different from an angle.
Cheers Kurt