From: Steinar H. Gunderson Date: Tue, 2 Oct 2012 23:14:27 +0000 (+0200) Subject: Increase the range of the blur control. X-Git-Tag: 1.0~412 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=7f9e6de676f22a95396f91079030b039ace2245f Increase the range of the blur control. --- diff --git a/main.cpp b/main.cpp index a5890a3..5e02d70 100644 --- a/main.cpp +++ b/main.cpp @@ -77,7 +77,7 @@ void mouse(int x, int y) } else if (yf >= 0.70f && yf < 0.72f && xf < 0.2f) { inner_radius = (xf / 0.2f); } else if (yf >= 0.75f && yf < 0.77f && xf < 0.2f) { - blur_radius = (xf / 0.2f) * 10.0f; + blur_radius = (xf / 0.2f) * 100.0f; } } @@ -240,7 +240,7 @@ int main(int argc, char **argv) draw_saturation_bar(0.6f, saturation / 4.0f); draw_saturation_bar(0.65f, radius); draw_saturation_bar(0.70f, inner_radius); - draw_saturation_bar(0.75f, blur_radius / 10.0f); + draw_saturation_bar(0.75f, blur_radius / 100.0f); SDL_GL_SwapBuffers(); check_error();