Skip to content

Commit

Permalink
Update Calculator.java
Browse files Browse the repository at this point in the history
removed special character causing warnings, duh.
  • Loading branch information
azakhary committed Jun 8, 2015
1 parent 307a58f commit 27d01d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/brashmonkey/spriter/Calculator.java
Expand Up @@ -19,7 +19,7 @@ public class Calculator {
* Calculates the smallest difference between angle a and b.
* @param a first angle (in degrees)
* @param b second angle (in degrees)
* @return Smallest difference between a and b (between 180° and -180°).
* @return Smallest difference between a and b (between 180 and -180).
*/
public static float angleDifference(float a, float b){
return ((((a - b) % 360) + 540) % 360) - 180;
Expand Down

0 comments on commit 27d01d4

Please sign in to comment.