Jump to content
  • Advertisement

Archived

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

IADaveMark

Ack! sin(x) math help

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

Quickie please for a hurting brain! I need a sin-based formula that yields the following results. 0 or 180: value = 0 90: value = +50 270: value = -50 Thanks people... Dave Mark - President and Lead Designer Intrinsic Algorithm - "Reducing the world to mathematical equations!" RIPPL Sports - NFL Statistical Analysis and Prediction System

Share this post


Link to post
Share on other sites
Advertisement
the ft sin in math.h is in radian of course,
so 50 * sin ( x * 3.14159 / 180 ) is your answer.

Tang

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!