Update content to remove redundant Robust math types (#38930)

Vector3, Vector4, Matrix4, and Quaternion are now gone. This switches us over to System.Numerics where applicable.
This commit is contained in:
Pieter-Jan Briers
2025-07-22 12:29:17 +02:00
committed by GitHub
parent 9a7cb00d4e
commit af4ff4e9de
11 changed files with 13 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
using System.Numerics;
using Content.Shared.CCVar;
using Robust.Shared.Configuration;
@@ -43,7 +44,7 @@ public sealed class ProgressColorSystem : EntitySystem
// 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);