2020-08-05 19:21:42 +00:00
|
|
|
using Encompass;
|
2020-08-06 07:00:02 +00:00
|
|
|
using Microsoft.Xna.Framework;
|
2020-08-05 19:21:42 +00:00
|
|
|
|
|
|
|
namespace KavTest.Components
|
|
|
|
{
|
|
|
|
public struct CameraComponent : IComponent
|
|
|
|
{
|
2020-08-06 07:00:02 +00:00
|
|
|
public Matrix Projection { get; }
|
2020-08-05 19:21:42 +00:00
|
|
|
|
2020-08-06 07:00:02 +00:00
|
|
|
public CameraComponent(Matrix projection)
|
2020-08-05 19:21:42 +00:00
|
|
|
{
|
2020-08-06 07:00:02 +00:00
|
|
|
Projection = projection;
|
2020-08-05 19:21:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|