diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-31 05:45:57 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-31 05:45:57 +0200 |
commit | 530debcb9e55dfbbb83dee215d28bbdc7e7f4af9 (patch) | |
tree | fd13ece608be27ee35469bd136f4db70dd4f49ca /pose-widget | |
parent | b9df697d6de0bd1ba4e9fbb40a7b3a5ab8e7cfdd (diff) |
pose-widget: add comment
Diffstat (limited to 'pose-widget')
-rw-r--r-- | pose-widget/glwidget.cpp | 2 |
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() |