Build 0.20.4.0

This commit is contained in:
Markus Isberg
2022-11-11 17:57:23 +02:00
parent edaf4b09fe
commit 54712b5dc9
201 changed files with 7618 additions and 2020 deletions
@@ -104,6 +104,8 @@ namespace Barotrauma
(float)Math.Floor(value / div) * div;
}
public static int RoundToInt(float v) => (int)MathF.Round(v);
public static float RoundTowardsClosest(float value, float div)
{
return (float)Math.Round(value / div) * div;