Vector3, Vector4, Matrix4, and Quaternion are now gone. This switches us over to System.Numerics where applicable.
-using Robust.Client.Graphics;
+using System.Numerics;
+using Robust.Client.Graphics;
using Robust.Client.UserInterface;
using Robust.Shared.Prototypes;
using Robust.Shared.Timing;
if (Progress >= 0f)
{
var hue = (5f / 18f) * lerp;
- color = Color.FromHsv((hue, 0.75f, 0.75f, 0.50f));
+ color = Color.FromHsv(new Vector4(hue, 0.75f, 0.75f, 0.50f));
}
else
{
-using Content.Shared.Disposal;
+using System.Numerics;
+using Content.Shared.Disposal;
using Content.Shared.Disposal.Unit;
using Robust.Client.Graphics;
using Robust.Client.UserInterface.Controls;
using Robust.Shared.Prototypes;
using Robust.Shared.Timing;
using System.Linq;
+using System.Numerics;
using DrawDepth = Content.Shared.DrawDepth.DrawDepth;
namespace Content.Client.Holopad;
using System.Linq;
+using System.Numerics;
using Content.Client.Items.Systems;
using Content.Shared.Clothing;
using Content.Shared.Hands;
using Robust.Client.GameObjects;
using Robust.Shared.IoC;
using System;
+using System.Numerics;
using Content.Client.Stylesheets;
using Content.Shared.APC;
using Robust.Client.Graphics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Numerics;
-using Vector4 = Robust.Shared.Maths.Vector4;
namespace Content.Client.Power;
using Robust.Shared.Threading;
using Robust.Shared.Timing;
using Robust.Shared.Utility;
-using Vector2 = System.Numerics.Vector2;
namespace Content.Client.Shuttles.UI;
+using System.Numerics;
using Content.Shared.Mobs;
using Robust.Client.Graphics;
using Robust.Client.Player;
+using System.Numerics;
using Content.Shared.CCVar;
using Robust.Shared.Configuration;
// lerp
var hue = 5f / 18f * progress;
- return Color.FromHsv((hue, 1f, 0.75f, 1f));
+ return Color.FromHsv(new Vector4(hue, 1f, 0.75f, 1f));
}
return InterpolateColorGaussian(Plasma, progress);
{
marked.Add(cell);
cell.ModulateSelfOverride = spotFree
- ? Color.FromHsv((0.18f, 1 / spot, 0.5f / spot + 0.5f, 1f))
+ ? Color.FromHsv(new Vector4(0.18f, 1 / spot, 0.5f / spot + 0.5f, 1f))
: Color.FromHex("#2222CC");
}
}
+using System.Numerics;
using System.Security.Cryptography;
using Microsoft.VisualBasic.CompilerServices;