From 9b9a804cc7868a71d86872f1ebe5987c29dffd7b Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Sun, 8 Sep 2024 18:20:11 -0400 Subject: [PATCH] Remove multiple bounding radius --- .../Bfres/Editing/ModelConversion/BfresModelImporter.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Plugins/CafeLibrary/Bfres/Editing/ModelConversion/BfresModelImporter.cs b/Plugins/CafeLibrary/Bfres/Editing/ModelConversion/BfresModelImporter.cs index b6349a1..27b9585 100644 --- a/Plugins/CafeLibrary/Bfres/Editing/ModelConversion/BfresModelImporter.cs +++ b/Plugins/CafeLibrary/Bfres/Editing/ModelConversion/BfresModelImporter.cs @@ -632,10 +632,7 @@ static void AddSubMesh(DivSubMesh subMesh, GX2IndexFormat format, ref Shape shap Center = new Vector3F(center.X, center.Y, center.Z), Extent = new Vector3F(extent.X, extent.Y, extent.Z), }; - float sphereRadius = System.Numerics.Vector3.Distance(center, subMesh.Max); - shape.SubMeshBoundings.Add(boundingBox); - shape.RadiusArray.Add(sphereRadius); } private static float CalculateRadius(float horizontalLeg, float verticalLeg)