We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d31b49 + 2a7b798 commit 800078aCopy full SHA for 800078a
olcUTIL_Geometry2D.h
@@ -192,6 +192,15 @@
192
#include <cassert>
193
#include <array>
194
195
+
196
+#ifdef PGE_VER
197
+#error "olcUTIL_Geometry2D.h must be included BEFORE olcPixelGameEngine.h"
198
+#else
199
200
+#ifndef OLC_IGNORE_VEC2D
201
+#define OLC_IGNORE_VEC2D
202
+#endif
203
204
#ifndef OLC_V2D_TYPE
205
#define OLC_V2D_TYPE
206
namespace olc
@@ -2493,3 +2502,5 @@ namespace olc::utils::geom2d
2493
2502
return internal::filter_duplicate_points(intersections);
2494
2503
}
2495
2504
2505
2506
+#endif // PGE_VER
0 commit comments