I see you mentioned the use of sin() and cos().  These both take and 
return double.  For foat you would need to use sinf() and cosf().

Reply via email to