diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-05-31 20:02:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-05-31 20:02:44 +0200 |
commit | 422af71f8d604a107ff53309ceec5ed97e91aaf4 (patch) | |
tree | 69d61a8de9f304b9647baca921b23cd43f2771c5 | |
parent | 30e5f9beba48eb28aa5d76b98c5e923a9e7733e9 (diff) |
this static modifier doesn't belong
-rw-r--r-- | 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 1347f0f6..a5b51121 100644 --- a/pose-widget/glwidget.cpp +++ b/pose-widget/glwidget.cpp @@ -110,7 +110,7 @@ static __inline vec3 normal(const vec3& p1, const vec3& p2, const vec3& p3) void GLWidget::project_quad_texture() { const int sx = width(), sy = height(); vec2 pt[4]; - static const vec3 corners[] = { + const vec3 corners[] = { vec3({0., 0., 0.}), vec3({sx-1., 0., 0.}), vec3({0., sy-1., 0.}), |