Build 0.21.6.0

This commit is contained in:
Markus Isberg
2023-01-31 18:01:29 +02:00
parent 697ec52120
commit 25fa5a9552
145 changed files with 2317 additions and 1145 deletions
@@ -19,6 +19,9 @@ namespace Barotrauma
static class MathUtils
{
public static Vector2 DiscardZ(this Vector3 vector)
=> new Vector2(vector.X, vector.Y);
public static float Percentage(float portion, float total)
{
return portion / total * 100;