Commit e541381a authored by Nico Mack's avatar Nico Mack

Removed obsolete code

parent 59382e47
...@@ -242,8 +242,6 @@ public class ValueWidget extends TetherableWidget implements InformationProvider ...@@ -242,8 +242,6 @@ public class ValueWidget extends TetherableWidget implements InformationProvider
} else if (multiTurn) { } else if (multiTurn) {
if (!Double.isNaN(lastAngle)) { if (!Double.isNaN(lastAngle)) {
value = variable.getValue(); value = variable.getValue();
double wrapped = AngleUtils.wrapTwoPi(angle - lastAngle); double wrapped = AngleUtils.wrapTwoPi(angle - lastAngle);
double degrees = Math.toDegrees(wrapped); double degrees = Math.toDegrees(wrapped);
double delta = Math.abs(degrees * stepSize); double delta = Math.abs(degrees * stepSize);
......
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