Skip to content

Commit

Permalink
less dramatic euler fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Harrington committed Jul 9, 2024
1 parent 2fc3287 commit f34bf8c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,9 @@ private double getAngle(int index){
return getStorage().getAngles(getOrder(), getConvention())[index];
} catch (CardanEulerSingularityException e) {
try {
return eulerFix( Math.toRadians(5), index);
return eulerFix( Math.toRadians(0.001), index);
} catch (CardanEulerSingularityException ex) {
return eulerFix( Math.toRadians(-5), index);
return eulerFix( Math.toRadians(-0.001), index);

}
}
Expand Down

0 comments on commit f34bf8c

Please sign in to comment.