From bbcdf3f9ad3d2cb422aa7d9ee0a9026c59c92ca5 Mon Sep 17 00:00:00 2001 From: penggrin12 Date: Sat, 11 Oct 2025 14:02:48 +0300 Subject: [PATCH] Fix #10 's commit to actually build with Godot --- LibBSP/Source/Structs/MAP/MAPPatch.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/LibBSP/Source/Structs/MAP/MAPPatch.cs b/LibBSP/Source/Structs/MAP/MAPPatch.cs index 4676f24..52fc38f 100644 --- a/LibBSP/Source/Structs/MAP/MAPPatch.cs +++ b/LibBSP/Source/Structs/MAP/MAPPatch.cs @@ -19,15 +19,16 @@ namespace LibBSP #if !OLDUNITY using Vertex = UnityEngine.UIVertex; #endif -#elif GODOT3 +#elif GODOT using Vector2 = Godot.Vector2; using Vector3 = Godot.Vector3; +#if GODOT3 using Vector4 = Godot.Quat; #elif GODOT4 - using Vector2 = Godot.Vector2; - using Vector3 = Godot.Vector3; using Vector4 = Godot.Vector4; -elif NEOAXIS +#endif + using Color = Godot.Color; +#elif NEOAXIS using Vector2 = NeoAxis.Vector2F; using Vector3 = NeoAxis.Vector3F; using Vector4 = NeoAxis.Vector4F;