Replace Matrix3 with System.Numerics.Matrix3x2 (#27443)
Replace Matrix3 with Matrix3x2
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Numerics;
|
||||
using Content.Server.Access.Systems;
|
||||
using Content.Server.DeviceNetwork;
|
||||
using Content.Server.DeviceNetwork.Components;
|
||||
@@ -366,8 +367,8 @@ public sealed class SuitSensorSystem : EntitySystem
|
||||
if (transform.GridUid != null)
|
||||
{
|
||||
coordinates = new EntityCoordinates(transform.GridUid.Value,
|
||||
_transform.GetInvWorldMatrix(xformQuery.GetComponent(transform.GridUid.Value), xformQuery)
|
||||
.Transform(_transform.GetWorldPosition(transform, xformQuery)));
|
||||
Vector2.Transform(_transform.GetWorldPosition(transform, xformQuery),
|
||||
_transform.GetInvWorldMatrix(xformQuery.GetComponent(transform.GridUid.Value), xformQuery)));
|
||||
}
|
||||
else if (transform.MapUid != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user