Update hand gesture for GUI repositioning to require that the hand is opened

This commit is contained in:
Guillaume Meunier
2025-11-02 17:51:59 +01:00
parent dd874eea4b
commit c4265d80a5
4 changed files with 97 additions and 21 deletions
+2 -1
View File
@@ -85,7 +85,8 @@ constexpr glm::vec3 keyboard_position = {0, -0.3, 0.1};
constexpr float near_plane = 0.02;
// Recenter gesture thresholds
constexpr float recenter_cosangle_min = 0.8;
constexpr float recenter_cos_palm_angle_min = 0.7;
constexpr float recenter_cos_fingertip_angle_max = 0.3;
constexpr float recenter_distance_up = 0.3;
constexpr float recenter_distance_front = 0.2;