This commit is contained in:
CortexCore
2024-03-11 02:16:25 +08:00
parent 605ccbcf8d
commit 6ef7c5f005
16 changed files with 832 additions and 45 deletions

View File

@@ -1,3 +1,6 @@
using System;
using Unity.Mathematics;
namespace BITKit
{
public enum TransformMode : int
@@ -7,4 +10,13 @@ namespace BITKit
Rotate,
Scale,
}
public interface ITransform:IDisposable
{
float3 LocalPosition { get; set; }
float3 Position { get; set; }
quaternion LocalRotation { get; set; }
quaternion Rotation { get; set; }
float3 LocalScale { get; set; }
float4x4 Matrix { get; set; }
}
}