diff -r f21b800b02a4 -r 198d25fe4e21 src/gl/partrenderer.cpp --- a/src/gl/partrenderer.cpp Fri Mar 06 20:13:10 2020 +0200 +++ b/src/gl/partrenderer.cpp Fri Mar 06 21:53:30 2020 +0200 @@ -309,7 +309,7 @@ return toQPointF(glm::vec2{projected.x, this->height() - projected.y}); } -geom::Line PartRenderer::cameraLine(const QPoint& point) const +geom::Line<3> PartRenderer::cameraLine(const QPoint& point) const { const glm::vec3 p1 = this->unproject({point.x(), point.y(), 0}); const glm::vec3 p2 = this->unproject({point.x(), point.y(), 1});