-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactored functions into arrow-funcs axis-shape * Moved each shape to separate file * cleaned up applying shadow to shapes * Applied eslint fixes * Removed extra app parameter from gizmo * removed ts imports * cleaned up shape creation * added shadows option to render * moved shadows to shape setting * added shadow toggling * Fixed updating shadows option on gizmos * default create gizmo layer * layer is checked to exist already before creating new layer * removed layer creation from editor example * renamed shadows to shading * renamed shadows to shading option * added option for single node in gizmo attach * set shading to be off by default * put update position and rotation inside update for two way binding * reverted local position and rotation * Added gizmo layer referencing for removal * only fire events on change * removed flip axis and fixed types * minor fixes * refactored shape shading * minor fixes * fixed tridata types issue * Fixed destroy issue * created separate layer per app * Update src/extras/gizmo/tri-data.js Co-authored-by: Will Eastcott <[email protected]> * fixed layer cleanup * Added description of the layer parameter to the gizmo * Use deviceCache instead of map for gizmo layer management * removed extra space * Modified layer to be supplied with static helper function * adjusted default params * updated default to be undefined for layerIndex --------- Co-authored-by: Will Eastcott <[email protected]>
- Loading branch information
1 parent
e5bf252
commit f052a53
Showing
22 changed files
with
1,134 additions
and
889 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
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.