diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-11 06:35:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-11 06:36:02 +0200 |
commit | 7b6627bb4769ada62c0b632cd72db9d0f0f74406 (patch) | |
tree | a40a984e1eb74800e1860aa56c37065080ea7b11 | |
parent | 9161646a6ed0b84770c9645689b98b2d4a2dfb82 (diff) |
pose-widget: we no longer warn on narrowing conversions
-rwxr-xr-x | pose-widget/glwidget.cpp | 2 |
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)) |