-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize pointer scaling and color change during trigger event (#1076)
* Renames Controller::pinchFactor to Controller::selectFactor Right now we are using the `pinchFactor` value to scale the pointer target as a select (trigger) gesture is closing during hand-tracking. But since we are going to extend this to controllers' trigger button, we are renaming it to `selectFactor` to make it generic to a select event. * Scale down and change color of pointer target during select event This patch extends the feature we currently have for pinch gesture, where the pointer target is scaled as the pinch gesture closes, until it is fully closed and the color is changed to blue. With this, we provide a nice visual cue of the trigger event to the user, and also make Wolvic interactions more consistent. * Reduce pointer target maximum size a bit It was (arguably) a bit too big already, and now that we are using it for controllers too, it makes sense to reduce it a bit.
- Loading branch information
1 parent
85ce1c4
commit 04f6705
Showing
7 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters