From 709a71e5951b71ff1514231a82bf6790d8faf0b0 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Mon, 4 Nov 2024 20:18:34 -0500 Subject: [PATCH] Another fix --- .../FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSHP.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/File_Format_Library/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSHP.cs b/File_Format_Library/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSHP.cs index 61278024..39500bb2 100644 --- a/File_Format_Library/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSHP.cs +++ b/File_Format_Library/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSHP.cs @@ -1407,9 +1407,9 @@ namespace Bfres.Structs min.X = Math.Min(bounding.Min.X, min.X); min.Y = Math.Min(bounding.Min.Y, min.Y); min.Z = Math.Min(bounding.Min.Z, min.Z); - max.X = Math.Min(bounding.Max.X, max.X); - max.Y = Math.Min(bounding.Max.Y, max.Y); - max.Z = Math.Min(bounding.Max.Z, max.Z); + max.X = Math.Max(bounding.Max.X, max.X); + max.Y = Math.Max(bounding.Max.Y, max.Y); + max.Z = Math.Max(bounding.Max.Z, max.Z); } }