refactor: ICamera interface added with view and projection matrices fields
This commit is contained in:
17
Engine.Core/Abstract/ICamera.cs
Normal file
17
Engine.Core/Abstract/ICamera.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace Engine.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a camera with view and projections matrices in the engine.
|
||||
/// </summary>
|
||||
public interface ICamera
|
||||
{
|
||||
/// <summary>
|
||||
/// View <see cref="Matrix4x4"/> of the <see cref="ICamera"/>.
|
||||
/// </summary>
|
||||
Matrix4x4 ViewMatrix { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Projection <see cref="Matrix4x4"/> of the <see cref="ICamera"/>.
|
||||
/// </summary>
|
||||
Matrix4x4 ProjectionMatrix { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user