Modelinglib: Fix missing M_PI on msvc

error: C2065: 'M_PI': undeclared identifier

QtMath makes it work on different compilers.

Change-Id: I012f4a5f6d3e2c9c8680b606a92f4898618a9dae
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Alessandro Portale
2018-01-09 17:06:08 +01:00
committed by Orgad Shaneh
parent 58ae456f4b
commit 8dca82bd9c

View File

@@ -68,7 +68,7 @@
#include <QQueue>
#include <QPair>
#include <cmath>
#include <QtMath>
namespace qmt {