refactor: moved drawable triangles into systems project for platform agnosticism

This commit is contained in:
2026-01-27 13:04:04 +03:00
parent 7c9973a5e7
commit 985f898327
8 changed files with 60 additions and 67 deletions

View File

@@ -1,8 +0,0 @@
using Engine.Core;
namespace Engine.Integration.MonoGame;
public interface IDrawableTriangle : IBehaviour
{
void Draw(ITriangleBatch triangleBatch);
}

View File

@@ -1,12 +0,0 @@
using Microsoft.Xna.Framework;
using Engine.Core;
namespace Engine.Integration.MonoGame;
public interface ITriangleBatch
{
void Begin(Matrix? view = null, Matrix? projection = null);
void Draw(Triangle triangle, ColorRGBA colorRGBA);
void End();
}