-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated sort functions for A-Frame * Test cases WIP * Documentation updates * Improve renderer unit tests * simplify path * UTs for new sort functions * Destructuring is not allowed in ES5 * Use longhand initialization of object (shorthand unsupported in ES5) * Move object sorting detail away from renderer sortTransparentObjects property description into FAQ * More ES5 compliance clean-up * Fix typo may -> many * Move initialization of object sorting config from AScene to renderer system * sortTransparentObjects can be set dynamically. * rename aframeSortX functions to sortX * Move sortFunctions.js module into systems/renderer.js * Give sort functions more meaningful names * Remove redundant 'Spatial' from function names * Remove unnecessary final else-if branches. * Early returns to remove "else if" statements and corresponding indentation --------- Co-authored-by: Diego Marcos <diego.marcos@gmail.com>
- Loading branch information
1 parent
67e34d6
commit 3c6cc78
Showing
6 changed files
with
203 additions
and
14 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