mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Many ecs, component and editor changes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user