Skip to content

Commit

Permalink
Update pch.h
Browse files Browse the repository at this point in the history
  • Loading branch information
BattleAxeVR committed Apr 26, 2024
1 parent 7a0ae56 commit 8cbb5ff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/tests/hello_xr/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,14 @@
#define ADD_EXTRA_CUBES 1

#ifndef ENABLE_ADVANCED_FEATURES
#define ENABLE_ADVANCED_FEATURES 1
#define ENABLE_ADVANCED_FEATURES 0
#endif

#define THUMBSTICK_TURNING_SPEED_POWER 2.0f
#define RUNNING_GRIP_THRESHOLD 0.1f
#define SPINNING_GRIP_THRESHOLD 0.1f
#define VIBRATION_GRIP_THRESHOLD 0.9f

#if ENABLE_ADVANCED_FEATURES

#include <openxr/extx1_event_channel.h>
Expand Down Expand Up @@ -244,15 +249,10 @@
#define SNAP_TURN_DEGREES_DEFAULT 30.0f

#define USE_THUMBSTICKS_TURNING_SPEED_POWER (USE_THUMBSTICKS_FOR_TURNING && 1)
#define THUMBSTICK_TURNING_SPEED_POWER 2.0f

#define SUPPORT_RUNNING_WITH_LEFT_GRIP (USE_THUMBSTICKS_FOR_MOVEMENT && 1)
#define RUNNING_GRIP_THRESHOLD 0.1f

#define SUPPORT_SPINNING_WITH_RIGHT_GRIP (USE_THUMBSTICKS_FOR_TURNING && 1)
#define SPINNING_GRIP_THRESHOLD 0.1f

#define VIBRATION_GRIP_THRESHOLD 0.9f

#define WALKING_SPEED 0.02f
#define SMOOTH_TURNING_ROTATION_SPEED 1.0f
Expand Down

0 comments on commit 8cbb5ff

Please sign in to comment.