X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fgesturedetector.cpp;h=49ddba2b8478173dfbd65b9e80233ab356c0da03;hb=1d418a1547bcea8b983815403d0a07b62793a460;hp=98e3ff30522bdf6de8fbe7a8b052ddbadb54f92d;hpb=1b33313502f837e2b0d02d3f2d129c85a8c66064;p=libs%2Fgui.git diff --git a/source/input/gesturedetector.cpp b/source/input/gesturedetector.cpp index 98e3ff3..49ddba2 100644 --- a/source/input/gesturedetector.cpp +++ b/source/input/gesturedetector.cpp @@ -1,3 +1,4 @@ +#define _USE_MATH_DEFINES #include #include #include "gesturedetector.h" @@ -264,7 +265,8 @@ GestureDetector::TouchPoint::TouchPoint(): down_x(0), down_y(0), x(0), - y(0) + y(0), + threshold_exceeded(false) { } } // namespace Input