mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
Merge branch 'lua_util' into 'master'
Apply clang-format to the previous commit See merge request OpenMW/openmw!2639
This commit is contained in:
commit
762eda74f7
@ -220,9 +220,7 @@ namespace LuaUtil
|
||||
util["remap"] = [](double value, double min, double max, double newMin, double newMax) {
|
||||
return newMin + (value - min) * (newMax - newMin) / (max - min);
|
||||
};
|
||||
util["round"] = [](double value) {
|
||||
return round(value);
|
||||
};
|
||||
util["round"] = [](double value) { return round(value); };
|
||||
|
||||
if (lua["bit32"] != sol::nil)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user