should be structs, not classes

This commit is contained in:
2024-09-16 10:47:31 +02:00
parent 1e114f98b1
commit 45d840d530
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ using System.Text;
namespace PveTeam.Mathematics namespace PveTeam.Mathematics
{ {
public class Transform public struct Transform
{ {
public static Transform Identity => Matrix4x4.Identity; public static Transform Identity => Matrix4x4.Identity;

View File

@@ -1,6 +1,6 @@
namespace PveTeam.Mathematics namespace PveTeam.Mathematics
{ {
public class TransformD public struct TransformD
{ {
private Matrix4x4D _backingMatrix; private Matrix4x4D _backingMatrix;