Naming, comments and local to world update

This commit is contained in:
max
2024-10-13 01:05:46 +02:00
parent 30deeca452
commit b3adef3a40
3 changed files with 48 additions and 6 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
using MoonTools.ECS;
using Nerfed.Runtime;
using Nerfed.Runtime.Components;
using Nerfed.Runtime.Systems;
using System.Numerics;
@@ -23,7 +24,7 @@ internal class Program
private static void HandleOnInitialize()
{
systems.Add(new ParentSystem(world));
systems.Add(new TransformSystem(world));
systems.Add(new LocalToWorldSystem(world));
Entity ent1 = world.CreateEntity();
world.Set(ent1, new LocalTransform(new Vector3(1, 0, 0), Quaternion.Identity, Vector3.One));