Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions LibBSP/Source/Structs/MAP/MAPPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines +22 to +29
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is a double #if a good idea here? less repeating code is good, right?

using Color = Godot.Color;
#elif NEOAXIS
using Vector2 = NeoAxis.Vector2F;
using Vector3 = NeoAxis.Vector3F;
using Vector4 = NeoAxis.Vector4F;
Expand Down