should be structs, not classes
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
namespace PveTeam.Mathematics
|
namespace PveTeam.Mathematics
|
||||||
{
|
{
|
||||||
public class TransformD
|
public struct TransformD
|
||||||
{
|
{
|
||||||
private Matrix4x4D _backingMatrix;
|
private Matrix4x4D _backingMatrix;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user