We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b061d70 + 7cc5fff commit 9d923f6Copy full SHA for 9d923f6
TEST_Geometry2D.cpp
@@ -1,6 +1,4 @@
1
#define OLC_PGE_APPLICATION
2
-#define OLC_IGNORE_VEC2D
3
-
4
#include "olcUTIL_Geometry2D.h"
5
#include "third_party/olcPixelGameEngine.h"
6
olcUTIL_Geometry2D.h
@@ -197,12 +197,8 @@
197
#error "olcUTIL_Geometry2D.h must be included BEFORE olcPixelGameEngine.h"
198
#else
199
200
-#ifndef OLC_IGNORE_VEC2D
201
202
-#endif
203
204
-#ifndef OLC_V2D_TYPE
205
-#define OLC_V2D_TYPE
+#if !defined(OLC_VECTOR2D_DEFINED)
206
namespace olc
207
{
208
/*
@@ -508,8 +504,7 @@ namespace olc
508
504
typedef v_2d<float> vf2d;
509
505
typedef v_2d<double> vd2d;
510
506
}
511
-#else
512
- #include "olcPixelGameEngine.h"
507
+#define OLC_VECTOR2D_DEFINED 1
513
#endif
514
515
0 commit comments