From 530debcb9e55dfbbb83dee215d28bbdc7e7f4af9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 31 Aug 2015 05:45:57 +0200 Subject: pose-widget: add comment --- pose-widget/glwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pose-widget/glwidget.cpp b/pose-widget/glwidget.cpp index 8bf169df..61b88b80 100644 --- a/pose-widget/glwidget.cpp +++ b/pose-widget/glwidget.cpp @@ -162,6 +162,8 @@ void GLWidget::project_quad_texture() { vec2 pos(x, y); for (int i = 0; i < 2; i++) { vec2 uv; + // XXX knowing center of the lookup pos, + // we have symmetry so only one lookup is needed -sh 20150831 if (triangles[i].barycentric_coords(pos, uv)) { const int px = origs[i][0].x() -- cgit v1.2.3