mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Revert: circular dependencies of header files on Windows
This commit is contained in:
@@ -18,10 +18,6 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "MapperGLCanvas.h"
|
||||
#include "ShapeGraphicsItem.h"
|
||||
#include "ShapeControlPainter.h"
|
||||
|
||||
#include "MappingGui.h"
|
||||
|
||||
MappingGui::MappingGui(Mapping::ptr mapping)
|
||||
|
||||
@@ -37,6 +37,13 @@
|
||||
#include "Paint.h"
|
||||
#include "Mapping.h"
|
||||
|
||||
#include "MapperGLCanvas.h"
|
||||
|
||||
#include "ShapeGraphicsItem.h"
|
||||
#include "ShapeControlPainter.h"
|
||||
|
||||
#include "Util.h"
|
||||
|
||||
#include "qtpropertymanager.h"
|
||||
#include "qtvariantproperty.h"
|
||||
#include "qttreepropertybrowser.h"
|
||||
|
||||
@@ -25,10 +25,6 @@
|
||||
#include <QtGlobal>
|
||||
#include <cmath>
|
||||
|
||||
#ifndef M_PI
|
||||
# define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
/// Converts from degrees to radians.
|
||||
inline qreal degreesToRadians(qreal degrees) { return degrees / 180.0f * M_PI; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user