X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=svrt.git;a=blobdiff_plain;f=shape.h;h=5e5695076083df4e982219eef645a27d07a806ee;hp=544019738a11c295abd71aa8658ba841c06a527c;hb=HEAD;hpb=194e1b60502426108c6f6c3cf2e08e95e7a2811d;ds=sidebyside diff --git a/shape.h b/shape.h index 5440197..5e56950 100644 --- a/shape.h +++ b/shape.h @@ -18,7 +18,7 @@ * General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with selector. If not, see . + * along with svrt. If not, see . * */ @@ -31,7 +31,13 @@ class Shape { static const int margin = 1; static const int nb_max_pixels = Vignette::width * Vignette::height; + +#if __cplusplus >= 201103L + static constexpr scalar_t gap_max = 0.25; +#else static const scalar_t gap_max = 0.25; +#endif + int n_pixels1, n_pixels2, n_pixels3, n_pixels4; int nb_pixels; scalar_t xc, yc;