| delorie.com/archives/browse.cgi | search |
| Sender: | nate AT cartsys DOT com |
| Message-ID: | <36D5B053.2AA88FD6@cartsys.com> |
| Date: | Thu, 25 Feb 1999 12:19:31 -0800 |
| From: | Nate Eldredge <nate AT cartsys DOT com> |
| X-Mailer: | Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586) |
| MIME-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| Subject: | Re: sin, cos ?? |
| References: | <36d2f284 DOT 0 AT news DOT sbbs DOT se> <199902231842 DOT NAA15055 AT envy DOT delorie DOT com> <7b26kt$g5n AT chronicle DOT concentric DOT net> |
| Reply-To: | djgpp AT delorie DOT com |
Paradox wrote: > > Is there another function that uses degrees? No, but you can easily convert between the two. #include <math.h> #define DEG2RAD(deg) ((deg)*(M_PI/180.0)) #define RAD2DEG(rad) ((rad)*(180.0/M_PI)) -- Nate Eldredge nate AT cartsys DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |