Skip to content

Commit

Permalink
Drop some get prefixes that were forgotten
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 committed May 3, 2021
1 parent e11143b commit ca32b97
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public final class GenericMath {
* @param angle2 The second angle
* @return the positive angle difference
*/
public static float getDegreeDifference(final float angle1, final float angle2) {
public static float degreeDifference(final float angle1, final float angle2) {
return Math.abs(GenericMath.wrapAngleDeg(angle1 - angle2));
}

Expand All @@ -40,7 +40,7 @@ public final class GenericMath {
* @param radian2 The second angle
* @return the positive radian difference
*/
public static double getRadianDifference(final double radian1, final double radian2) {
public static double radianDifference(final double radian1, final double radian2) {
return Math.abs(GenericMath.wrapAngleRad(radian1 - radian2));
}

Expand Down

0 comments on commit ca32b97

Please sign in to comment.