From 3e90df9e6e3c13e1b1a1d3e1a929851dd4327066 Mon Sep 17 00:00:00 2001 From: Samuele Lorefice Date: Tue, 8 Apr 2025 20:03:05 +0200 Subject: [PATCH] Removed unused properties from record --- SDFMapCreator/Program.cs | 2 +- SDFMapCreator/Records.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SDFMapCreator/Program.cs b/SDFMapCreator/Program.cs index 52e9051..8320b5c 100644 --- a/SDFMapCreator/Program.cs +++ b/SDFMapCreator/Program.cs @@ -115,7 +115,7 @@ public static class Program { if (i >= Images.Count - 1) continue; var mask = GetABMask(Images[i].Pixels, Images[i + 1].Pixels); - TransitionMasks.Add(new(mask, Images[i], Images[i + 1])); + TransitionMasks.Add(new(mask)); } //EdgeDetect all masks diff --git a/SDFMapCreator/Records.cs b/SDFMapCreator/Records.cs index aabbed0..da977c9 100644 --- a/SDFMapCreator/Records.cs +++ b/SDFMapCreator/Records.cs @@ -11,4 +11,4 @@ public record MaskData(Vector3[,] Mask, Image Image, List Edges) { public record SDFData(Vector3[,] SDF); -public record TransitionMaskData(Vector3[,] Mask, Image ImageA, Image ImageB); \ No newline at end of file +public record TransitionMaskData(Vector3[,] Mask); \ No newline at end of file