|
Author |
Topic: degrees or radians (Read 1999 times) |
|
rgovostes' Guest
|
degrees or radians
« on: Jan 31st, 2004, 1:03am » |
|
I think it would be handy to allow the user to select computations to be done with either degrees or radians (and optionally, a value of pi, or a number indicating the precision to use). We already have ColorMode() and such, so how hard would it be to add AngleMode(DEGREES) and AngleMode(RADIANS)?
|
|
|
|
fry
|
Re: degrees or radians
« Reply #1 on: Feb 3rd, 2004, 12:20am » |
|
seems logical.. we had thought about doing this a while ago, and now i don't recall why we didn't just add it..
|
|
|
|
kevinP
|
Re: degrees or radians
« Reply #2 on: Feb 3rd, 2004, 12:43am » |
|
on Feb 3rd, 2004, 12:20am, fry wrote:seems logical.. we had thought about doing this a while ago, and now i don't recall why we didn't just add it.. |
| OTOH it forced me to quickly learn some useful math... -K
|
Kevin Pfeiffer
|
|
|
fry
|
Re: degrees or radians
« Reply #4 on: Jul 15th, 2004, 6:03pm » |
|
angleMode(DEGREES) and angleMode(RADIANS) addded for megabucket. they'll affect the trig functions like sin() cos(), acos() asin() as well as rotate() and friends.
|
|
|
|
|