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
+19 -1
View File
@@ -3,7 +3,25 @@ using GlitchyEngine.Math;
namespace GlitchyEngine.Renderer
{
public abstract class Camera
struct Camera
{
protected Matrix _projection;
public Matrix Projection => _projection;
protected this()
{
_projection = .Identity;
}
public this(Matrix projection)
{
_projection = projection;
}
}
public abstract class OldCamera
{
protected Matrix _view;
protected Matrix _transform;