20 #include <QMessageBox> |
20 #include <QMessageBox> |
21 #include <QAbstractButton> |
21 #include <QAbstractButton> |
22 #include <QFile> |
22 #include <QFile> |
23 #include <QTextStream> |
23 #include <QTextStream> |
24 #include <QDir> |
24 #include <QDir> |
25 #include "mainwindow.h" |
|
26 #include "ldDocument.h" |
25 #include "ldDocument.h" |
27 #include "miscallenous.h" |
26 #include "miscallenous.h" |
28 #include "colors.h" |
27 #include "colors.h" |
29 #include "basics.h" |
28 #include "basics.h" |
30 #include "primitives.h" |
|
31 #include "glRenderer.h" |
29 #include "glRenderer.h" |
32 #include "dialogs.h" |
30 #include "dialogs.h" |
33 #include "crashCatcher.h" |
31 #include "crashCatcher.h" |
34 #include "ldpaths.h" |
32 #include "ldpaths.h" |
35 #include "documentmanager.h" |
33 #include "documentmanager.h" |
|
34 #include "mainwindow.h" |
36 |
35 |
37 MainWindow* g_win = nullptr; |
36 MainWindow* g_win = nullptr; |
38 Configuration* Config = nullptr; |
37 Configuration* Config = nullptr; |
39 const Vertex Origin (0.0f, 0.0f, 0.0f); |
38 const Vertex Origin (0.0f, 0.0f, 0.0f); |
40 const Matrix IdentityMatrix ({1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f}); |
39 const Matrix IdentityMatrix ({1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f}); |