Many ecs, component and editor changes

This commit is contained in:
Simon Lübeß
2022-03-02 01:59:51 +01:00
parent afe36b19df
commit cbee9f59d8
10 changed files with 243 additions and 31 deletions
+4 -3
View File
@@ -79,7 +79,8 @@ namespace GlitchyEngine.Renderer
LineGeometry.SetVertexLayout(layout..ReleaseRefNoDelete());
}
public static void BeginScene(EcsWorld world, EcsEntity cameraEntity)
// TODO
/*public static void BeginScene(EcsWorld world, EcsEntity cameraEntity)
{
Debug.Profiler.ProfileRendererFunction!();
@@ -91,9 +92,9 @@ namespace GlitchyEngine.Renderer
var proj = camera.Projection;
_sceneConstants.ViewProjection = proj * view;
}
}*/
public static void BeginScene(Camera camera)
public static void BeginScene(OldCamera camera)
{
Debug.Profiler.ProfileRendererFunction!();