# HG changeset patch # User Teemu Piippo # Date 1521835234 -7200 # Node ID 31f4293cec309d67fac47d2889cc78acfd0d8d53 # Parent 23d48a709ffc243ee54f068bb95902fcd6e00aa8 reworked includes diff -r 23d48a709ffc -r 31f4293cec30 src/format.h --- a/src/format.h Fri Mar 23 21:53:03 2018 +0200 +++ b/src/format.h Fri Mar 23 22:00:34 2018 +0200 @@ -23,6 +23,7 @@ #include "basics.h" #include "colors.h" #include "types/matrix.h" +#include "types/vertex.h" // Converts a given value into a string that can be retrieved with text(). // Used as the argument type to the formatting functions, hence its name. diff -r 23d48a709ffc -r 31f4293cec30 src/linetypes/modelobject.h --- a/src/linetypes/modelobject.h Fri Mar 23 21:53:03 2018 +0200 +++ b/src/linetypes/modelobject.h Fri Mar 23 22:00:34 2018 +0200 @@ -24,6 +24,7 @@ class Model; class LDDocument; class DocumentManager; +struct LDPolygon; /* * Object type codes. diff -r 23d48a709ffc -r 31f4293cec30 src/main.h --- a/src/main.h Fri Mar 23 21:53:03 2018 +0200 +++ b/src/main.h Fri Mar 23 22:00:34 2018 +0200 @@ -28,6 +28,7 @@ #include #include #include +#include #include "macros.h" #include "version.h" #include "format.h" diff -r 23d48a709ffc -r 31f4293cec30 src/serializer.h --- a/src/serializer.h Fri Mar 23 21:53:03 2018 +0200 +++ b/src/serializer.h Fri Mar 23 22:00:34 2018 +0200 @@ -19,6 +19,7 @@ #pragma once #include "main.h" +class LDObject; using LDObjectState = QVector; class Serializer diff -r 23d48a709ffc -r 31f4293cec30 src/types/matrix.h --- a/src/types/matrix.h Fri Mar 23 21:53:03 2018 +0200 +++ b/src/types/matrix.h Fri Mar 23 22:00:34 2018 +0200 @@ -18,10 +18,10 @@ #pragma once #include -#include "../glShared.h" +#include /* - * A mathematical 3 x 3 matrix + * A mathematical 3 × 3 matrix */ class Matrix {