From 499f87590335238a0c8b04a29ccd825dcfd55735 Mon Sep 17 00:00:00 2001 From: Syntriax Date: Mon, 2 Feb 2026 14:42:34 +0300 Subject: [PATCH] chore: removed unused piece of code --- .../Engine.Integration.MonoGame/MonoGameTriangleBatch.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Engine.Integration/Engine.Integration.MonoGame/MonoGameTriangleBatch.cs b/Engine.Integration/Engine.Integration.MonoGame/MonoGameTriangleBatch.cs index 5e0a5a7..da575f6 100644 --- a/Engine.Integration/Engine.Integration.MonoGame/MonoGameTriangleBatch.cs +++ b/Engine.Integration/Engine.Integration.MonoGame/MonoGameTriangleBatch.cs @@ -48,8 +48,6 @@ public class MonoGameTriangleBatch : Behaviour, ITriangleBatch, IFirstFrameUpdat public void Begin(Matrix4x4? view = null, Matrix4x4? projection = null) { - Viewport viewport = graphicsDevice.Viewport; - this.view = (view ?? camera.ViewMatrix).Transposed.ToXnaMatrix(); this.projection = (projection ?? camera.ProjectionMatrix).Transposed.ToXnaMatrix(); }