Tweak overheating (#4969)

* Tweak overheating

* Add define for constant magic num
This commit is contained in:
PabstMirror
2017-04-11 10:04:57 -05:00
committed by GitHub
parent f0c8d5ad95
commit fb73286242
5 changed files with 5 additions and 4 deletions

View File

@ -18,4 +18,4 @@ params ["_array", "_value"];
private _min = _array select floor _value;
private _max = _array select ceil _value;
_min + (_max - _min) * (_value % 1) // return
linearConversion [0, 1, _value % 1, _min, _max] // return