Could someone convert a little c maths code for me

Miscellaneous Forums/General Discussion/Could someone convert a little c maths code for me

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.

Wouldn't Sinf() and Cosf() be expecting radians?
Const RAD2DEG! = 180 / Pi


Function Cosf!(rad!)
  Return Cos(rad! * RAD2DEG!)
End Function

Function Sinf!(rad!)
  Return Sin(rad! * RAD2DEG!)
End Function
??