src/events/SDL_gesture.c
changeset 7508 1f64c6874619
parent 7252 8ecb54eeaeec
child 7509 cf7c2e3493b2
equal deleted inserted replaced
7507:885b4aab4190 7508:1f64c6874619
   390 }
   390 }
   391 
   391 
   392 static float dollarRecognize(const SDL_DollarPath *path,int *bestTempl,SDL_GestureTouch* touch)
   392 static float dollarRecognize(const SDL_DollarPath *path,int *bestTempl,SDL_GestureTouch* touch)
   393 {
   393 {
   394 
   394 
   395     SDL_FloatPoint points[DOLLARNPOINTS];
   395     SDL_FloatPoint points[DOLLARNPOINTS] = {};
   396     int i;
   396     int i;
   397     float bestDiff = 10000;
   397     float bestDiff = 10000;
   398 
   398 
   399     dollarNormalize(path,points);
   399     dollarNormalize(path,points);
   400 
   400