-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assorted perf improvements in hot code paths (#10601)
* Initial perf pass * Update BaseHandVisualizer.cs * Don't call Commands so many times * More inline caching * Return early in pointers that don't depend on OnPreSceneQuery for their interaction state * Update HandJoint.mat * Update hand visualizers for perf considerations * Return correct value for TryGetJoint * Adjust MicrosoftArticulatedHand to be robust to different InputDevice patterns Currently, there are two InputDevices: one with interaction data and one with hand joint data. Going forward, there may only be one 👀 * Update ArticulatedHandDefinition.cs * Update BaseHandVisualizer.cs * Improve RiggedHandLogic for returning early * Add braces * Update casting pattern for readability
- Loading branch information
Showing
19 changed files
with
441 additions
and
303 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
Oops, something went wrong.