src/vertex.cpp

changeset 6
73e448b2943d
parent 5
593a658cba8e
child 8
44679e468ba9
--- a/src/vertex.cpp	Thu Oct 03 11:45:44 2019 +0300
+++ b/src/vertex.cpp	Thu Oct 03 23:44:28 2019 +0300
@@ -213,3 +213,8 @@
 {
 	return qHash(key.x) ^ rotl10(qHash(key.y)) ^ rotl20(qHash(key.z));
 }
+
+QString vertexToStringParens(const Vertex& vertex)
+{
+	return format("(%1, %2, %3)", vertex.x, vertex.y, vertex.z);
+}

mercurial