]> Shamusworld >> Repos - architektonas/blobdiff - src/global.h
Added preliminary circle-to-circle intersection code.
[architektonas] / src / global.h
index d59155e5a0c0d1e8c8b74c124ef75859e435b202..c0f019aa839ab9cba999ad0b72e3911785af9a80 100644 (file)
@@ -5,6 +5,7 @@
 // to do any instantiation shite.
 
 #include <stdint.h>
+#include <vector>
 #include <QRectF>
 #include "vector.h"
 
@@ -42,6 +43,16 @@ class Global
                static Vector screenSize;
 
                static float scale;
+
+               static Point intersectPoint[16]; // Overkill, yes
+               static double intersectParam[16]; // Ditto
+               static int numIntersectPoints;
+               static int numIntersectParams;
+
+               static int activeLayer;
+               static int numLayers;
+               static std::vector<bool> layerHidden;
+               static std::vector<bool> layerLocked;
 };
 
 #endif // __GLOBALS_H__