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 5653 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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!