16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 01:19:18 +02:00

maintenance: minor refactoring, removed deprecated code and variables

This commit is contained in:
tmj-fstate
2017-08-28 00:07:47 +02:00
parent 110bdf63bb
commit 3a6e2869ae
17 changed files with 40 additions and 105 deletions

View File

@@ -1313,10 +1313,3 @@ double Global::Min0RSpeed(double vel1, double vel2)
}
return std::min(vel1, vel2);
};
double Global::CutValueToRange(double min, double value, double max)
{ // przycinanie wartosci do podanych granic
value = Max0R(value, min);
value = Min0R(value, max);
return value;
};