1
0
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:
Cody Glassman 2023-01-21 00:55:18 +00:00
commit 762eda74f7

View File

@ -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)
{