src/gl/partrenderer.cpp

changeset 71
198d25fe4e21
parent 70
f21b800b02a4
child 73
97df974b5ed5
--- 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});

mercurial