Help me with this sine wave trig

BlitzMax Forums/BlitzMax Beginners Area/Help me with this sine wave trig

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Wow, that's some crazy maths. Still I like a challenge!

After some hard thinking, the frequency you need is:

Local frequency:Float             = 180/x_target
Edit: Damn, Queller beat me to it!