summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--pose-widget/glwidget.cpp2
1 files changed, 2 insertions, 0 deletions
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()