Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Possibility

How to do arctan(x) in C++

This topic is 6910 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need to find the artangent (arctan or tan^-1) of a number. How do I do this? I am using VC++ w/directx7. Thanks Possibility

Share this post


Link to post
Share on other sites
Advertisement
use the atan() function in math.h
the angle is in radioans

- pouya
--------------
Maybe in order to understand mankind, we have to look at the word itself: "Mankind". Basically, it's made up of two separate words - "mank" and "ind". What do these words mean? It's a mystery, and that's why so is mankind

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!