fixed warning

Thu, 27 Feb 2020 14:38:58 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Thu, 27 Feb 2020 14:38:58 +0200
changeset 60
0f221121849b
parent 59
60650929dc82
child 61
4585d8d7a7ec

fixed warning

src/gl/partrenderer.cpp file | annotate | diff | comparison | revisions
--- a/src/gl/partrenderer.cpp	Thu Feb 27 14:38:48 2020 +0200
+++ b/src/gl/partrenderer.cpp	Thu Feb 27 14:38:58 2020 +0200
@@ -321,7 +321,7 @@
 		this->viewMatrix * glm::mat4_cast(this->modelQuaternion),
 		this->projectionMatrix,
 		this->viewportVector);
-	return {projected.x, this->height() - projected.y};
+	return toQPointF(glm::vec2{projected.x, this->height() - projected.y});
 }
 
 /**

mercurial