Thu, 27 Feb 2020 14:38:58 +0200
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}); } /**