Naming, comments and local to world update
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user