-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 331 new context for state (#333)
* feat: tres context provider * feat: useContextProvider onMounted * feat: revert width height composables * feat: fixed renderer watch for aspectRatio changes * chore: clean up * feat: refactor raycaster * feat: 331 new context for state tino (#340) * feat: refactored composables; seperated logic from TresCanvas * chore: more changes concerning renderer composable * feat: made window size reactive * chore: made compasable params more uniform * chore: refactored useRenderer * chore: type cleanup * feat: added user data key for active cameras * feat: made renderer constructor params reactive * feat: made multiple cameras work * feat: made camera handling work properly and fixed event handler problem * feat: added option to set a camera active by it's uuid and the object itself * chore: moved composable to composables * chore: removed obsolete todo comments * chore: set antialias to be true by default in TresCanvas * chore: fix debugUI playground * chore: pnpm lock * chore: added localOrbitControls * chore: made render loop start initially * chore: changes concerning PR review * chore: changes concerning PR review * chore: remove camera test for now * chore: release v2.4.0-next.4 * chore: ci update for pnpm actions * chore: correct typo on test action name * chore: restored reactivity of renderer composable * chore: replaced userData handling in keys.ts by types * chore: made tests temporarily work * chore: disabled test temporarily * chore: removed readonly on scene for post-processing * chore: release v2.4.0-next.5 * chore: restored readonly on scene and removed it from renderer * chore: release v2.4.0-next.6 * chore: fixed hmr * chore: made usePointerEventHandler more uniform to other composables * feat: made renderer presets have less priority than explicitly defined props --------- Co-authored-by: Tino Koch <[email protected]> Co-authored-by: alvarosabu <[email protected]> * chore: release v2.4.0-next.7 * feat: remove readonly for scene on state context * chore: release v2.4.0-next.8 * feat: add defaults props for trescanvas to match renderer ones * chore: release v2.4.0-next.9 * feat: changed camera behavior so that the first added camera is always the active one * chore: release v2.4.0-next.10 * docs: updated docs concerning useTresContext composable * feat: added useTres alias for useTresContext * chore: changed useTresContext to useTres in the docs * chore: removed wrong dependency * fix: fixed issue caused by merge of main * chore: switched camera from ref to shallowRef * chore: removed obsolete comment * fix: revert shallorRef for cameras --------- Co-authored-by: Tino Koch <[email protected]> Co-authored-by: Tino Koch <[email protected]>
- Loading branch information
1 parent
c594cfc
commit 0e66f43
Showing
38 changed files
with
1,825 additions
and
1,963 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
|
||
### [2.4.2](https://github.com/Tresjs/tres/compare/2.4.1...2.4.2) (2023-07-14) | ||
|
||
|
||
|
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
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.