The .Net Framework uses by default radians in its trigonometry calculations. Find out how to convert degrees to radians to use with C#
|+1 forum 5|
If you have to convert an angle from degrees to radians and way back, here are some utility functions in C#, along with a program to test them. I made use of the "out" keyword here, which allows a function to return more than one value. An alternative would be to return a struct containing all the values. Any language out there which can do this?
|+0 forum 0|