Replace Matrix3 with System.Numerics.Matrix3x2 (#27443)
Replace Matrix3 with Matrix3x2
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Numerics;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Serialization;
|
||||
@@ -15,7 +16,7 @@ public sealed partial class ExplosionVisualsComponent : Component
|
||||
public Dictionary<EntityUid, Dictionary<int, List<Vector2i>>> Tiles = new();
|
||||
public List<float> Intensity = new();
|
||||
public string ExplosionType = string.Empty;
|
||||
public Matrix3 SpaceMatrix;
|
||||
public Matrix3x2 SpaceMatrix;
|
||||
public ushort SpaceTileSize;
|
||||
}
|
||||
|
||||
@@ -27,7 +28,7 @@ public sealed class ExplosionVisualsState : ComponentState
|
||||
public Dictionary<NetEntity, Dictionary<int, List<Vector2i>>> Tiles;
|
||||
public List<float> Intensity;
|
||||
public string ExplosionType = string.Empty;
|
||||
public Matrix3 SpaceMatrix;
|
||||
public Matrix3x2 SpaceMatrix;
|
||||
public ushort SpaceTileSize;
|
||||
|
||||
public ExplosionVisualsState(
|
||||
@@ -36,7 +37,7 @@ public sealed class ExplosionVisualsState : ComponentState
|
||||
List<float> intensity,
|
||||
Dictionary<int, List<Vector2i>>? spaceTiles,
|
||||
Dictionary<NetEntity, Dictionary<int, List<Vector2i>>> tiles,
|
||||
Matrix3 spaceMatrix,
|
||||
Matrix3x2 spaceMatrix,
|
||||
ushort spaceTileSize)
|
||||
{
|
||||
Epicenter = epicenter;
|
||||
|
||||
Reference in New Issue
Block a user