--- a/src/types/vertex.h Sat May 26 17:28:15 2018 +0300 +++ b/src/types/vertex.h Wed May 30 22:31:06 2018 +0300 @@ -48,6 +48,8 @@ double operator[](Axis ax) const; bool operator==(const Vertex& other) const; bool operator!=(const Vertex& other) const; + + static Vertex fromVector(const QVector3D& vector); }; inline Vertex operator*(qreal scalar, const Vertex& vertex)