--- a/src/gl/compiler.h Sun Jan 26 01:06:27 2020 +0200 +++ b/src/gl/compiler.h Sun Jan 26 14:29:30 2020 +0200 @@ -20,7 +20,6 @@ #include "main.h" #include "gl/common.h" #include "types/boundingbox.h" -#include <glm/glm.hpp> #include <glm/gtc/type_ptr.hpp> #include <QMap> #include <QSet> @@ -54,7 +53,7 @@ void buildPolygon(Polygon polygon, std::vector<GLfloat>* vboData); std::size_t vboSize(gl::ArrayClass arrayClass) const; QColor getColorForPolygon(const gl::Polygon& polygon); - Point3D modelCenter() const; + glm::vec3 modelCenter() const; double modelDistance() const; void initialize(); void bindVertexArray(gl::ArrayClass arrayClass);