feat(app): extract ICamera interface from OrbitCamera

Introduce ICamera (View, Projection, Aspect) and make OrbitCamera implement
it. TerrainRenderer.Draw and StaticMeshRenderer.Draw now accept ICamera,
widening the call-site contract while leaving all runtime behavior unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Erik 2026-04-10 20:24:29 +02:00
parent 560100e5b6
commit 5640c153f3
4 changed files with 13 additions and 3 deletions

View file

@ -0,0 +1,10 @@
using System.Numerics;
namespace AcDream.App.Rendering;
public interface ICamera
{
Matrix4x4 View { get; }
Matrix4x4 Projection { get; }
float Aspect { get; set; }
}