Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: Math functions in JavaScript, Thursday April 17, 2008 at 07:03:04

You are here: irt.org | About | Feedback | 5249 [ previous next ]

Feedback on:
Math functions in JavaScript

Sent by
Fenevad on Thursday April 17, 2008 at 07:03:04

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
This is primarily feedback on Soner's comments. Actually, the trig functions *are* returning the correct values. They simply are not expecting degrees as input, but radians (2π radians = 360°). One rad thus equals approx. 57.2958 degrees (hence your division ratio). For most serious mathematics functions, you expect to use radians, not degrees. So it’s not an error, but you were missing the important knowledge of what was expected as input.




Other feedback on 'Math functions in JavaScript' - show all

©2018 Martin Webb