Skip to content
Snippets Groups Projects
Commit 770fc454 authored by Projekt Robbie's avatar Projekt Robbie
Browse files

dirty fix

parent b50d7ce6
No related branches found
No related tags found
1 merge request!7Dev/geometry wrapper example
......@@ -144,14 +144,14 @@ class GestureRecognitionInterface:
if ray_right != [] and store_right != []:
if ray_right[1].distance(store_right[1]) < distance_threshold:
store_right[1] = (store_right[1] + ray_right[1]) / 2
store_right[1] = (store_right[1] + ray_right[1]) * 0.5
store_modifications += 1
if ray_left != [] and store_left != []:
if ray_left[1].distance(store_left[1]) < distance_threshold:
store_left[1] = (store_left[1] + ray_left[1]) / 2
store_left[1] = (store_left[1] + ray_left[1]) * 0.5
store_modifications += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment