Shop OBEX P1 Docs P2 Docs Learn Events
QSIN(length, angle, twopi) : y Looking for Background Information — Parallax Forums

QSIN(length, angle, twopi) : y Looking for Background Information

QSIN(length, angle, twopi) : y Rotate (length,0) by (angle / twopi) * 2Pi and return y. Use 0 for twopi = $1_0000_0000. Twopi is unsigned.

Curious about the background for how this method is being calculated.
Regards
WRD Bob Drury

Comments

  • cgraceycgracey Posts: 14,151

    If you want 360 to equal one revolution, set twopi to 360. Then, the remainder of angle / 360 will be the degrees.

Sign In or Register to comment.