Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualCornstalks

Posted 08 November 2012 - 12:07 PM

Wild guess: most trig functions (sin, cos, etc.) work with radians, not degrees. Try converting your degrees to radians (radians = degrees * 3.14159265359f / 180.0f) before doing sin/cos.

[edit]

Aaaaaand ninja'd

#1Cornstalks

Posted 08 November 2012 - 12:07 PM

Wild guess: most trig functions (sin, cos, etc.) work with radians, not degrees. Try converting your degrees to radians (radians = degrees * 3.14159265359f / 180.0f) before doing sin/cos.

PARTNERS