summaryrefslogtreecommitdiffhomepage
path: root/pose-widget/glwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pose-widget/glwidget.cpp')
-rwxr-xr-xpose-widget/glwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pose-widget/glwidget.cpp b/pose-widget/glwidget.cpp
index d6d5260e..8a90c37c 100755
--- a/pose-widget/glwidget.cpp
+++ b/pose-widget/glwidget.cpp
@@ -167,7 +167,7 @@ void GLWidget::project_quad_texture() {
for (int y = 0; y < sy; y++)
for (int x = 0; x < sx; x++) {
- vec2 pos({(num)x, (num)y});
+ vec2 pos({x, y});
for (int i = 0; i < 2; i++) {
vec2 uv;
if (triangles[i].barycentric_coords(pos, uv))