Jump to content
  • Advertisement


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


Looking for Math in Programming Resources

This topic is 5298 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

Hail fellow programmers! I want to take the next step in my programming escapade. I''ve learned the language, I''m learning the math, so how do I unify these two forms of expression? I''m looking for a good website or two, that will explain to me how I implement this trig I''ve learned into my programming. I''ve been playing with sin, cos in math.h but the output to me is bizarre. For example, if I cout 1/sin(sqrt(2)/2) It returns some integer. I''m sure that is the integer equivalent of 45 degrees, but I need some resource that explains to me what is actually happening. I look forward this new advanture, and Thank you in advance! p.s. Would be preferable if site relates to c++, but theory is fine too

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!