src/types/vertex.h

changeset 1390
3eace926af7f
parent 1371
b8df4748d04e
child 1403
7a2d84112983
--- 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)

mercurial