ecs and tranforms

added the moonworks ecs library.
testing it by setting up a transform and parent system.
This commit is contained in:
max
2024-10-13 00:08:01 +02:00
parent 6f505f34a9
commit 30deeca452
10 changed files with 199 additions and 7 deletions
@@ -0,0 +1,18 @@
using System.Numerics;
namespace Nerfed.Runtime.Components
{
public struct LocalTransform
{
public Vector3 position;
public Quaternion rotation;
public Vector3 scale;
public LocalTransform(Vector3 position, Quaternion rotation, Vector3 scale)
{
this.position = position;
this.rotation = rotation;
this.scale = scale;
}
}
}