Fixes to compile on Linux (GCC 10.3.1).
parent
ce9900e221
commit
914b6955f9
|
@ -1,4 +1,5 @@
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
#include <QPainterPath>
|
||||||
#include "cut_face_preview.h"
|
#include "cut_face_preview.h"
|
||||||
#include "theme.h"
|
#include "theme.h"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include <QGuiApplication>
|
#include <QGuiApplication>
|
||||||
#include <QElapsedTimer>
|
#include <QElapsedTimer>
|
||||||
#include <qDebug>
|
#include <QDebug>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <dust3d/base/ds3_file.h>
|
#include <dust3d/base/ds3_file.h>
|
||||||
#include <dust3d/base/snapshot_xml.h>
|
#include <dust3d/base/snapshot_xml.h>
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <algorithm> // std::reverse
|
||||||
#include <dust3d/base/vector2.h>
|
#include <dust3d/base/vector2.h>
|
||||||
#include <dust3d/base/vector3.h>
|
#include <dust3d/base/vector3.h>
|
||||||
#include <dust3d/base/cut_face.h>
|
#include <dust3d/base/cut_face.h>
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <cstring>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <rapidxml.hpp>
|
#include <rapidxml.hpp>
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#ifndef DUST3D_BASE_MATRIX4X4_H_
|
#ifndef DUST3D_BASE_MATRIX4X4_H_
|
||||||
#define DUST3D_BASE_MATRIX4X4_H_
|
#define DUST3D_BASE_MATRIX4X4_H_
|
||||||
|
|
||||||
|
#include <cstring>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <dust3d/base/vector3.h>
|
#include <dust3d/base/vector3.h>
|
||||||
#include <dust3d/base/quaternion.h>
|
#include <dust3d/base/quaternion.h>
|
||||||
|
|
|
@ -71,7 +71,7 @@ public:
|
||||||
return m_data[0];
|
return m_data[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
inline Quaternion &Quaternion::operator*=(const double &number)
|
inline Quaternion &operator*=(const double &number)
|
||||||
{
|
{
|
||||||
m_data[0] *= number;
|
m_data[0] *= number;
|
||||||
m_data[1] *= number;
|
m_data[1] *= number;
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <iostream>
|
||||||
#include <dust3d/base/math.h>
|
#include <dust3d/base/math.h>
|
||||||
|
|
||||||
namespace dust3d
|
namespace dust3d
|
||||||
|
|
Loading…
Reference in New Issue