Commit dd9cd75b authored by Justin Dearden's avatar Justin Dearden
Browse files

Version 4.2

Updated documentation
parent 64e7ddee
......@@ -96,6 +96,7 @@ public class TrigFunctions {
public static double cos(double degrees) {
if ((degrees == 45 || degrees == 225)) {
//Hard coded values to be used in the calculation due to conversion issues
return (degrees == 45) ? 0.7071067811 : -0.7071067811;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment