-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add toJSON
in base math class
#1380
Conversation
Codecov ReportBase: 41.83% // Head: 40.71% // Decreases project coverage by
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## dev/1.0 #1380 +/- ##
===========================================
- Coverage 41.83% 40.71% -1.13%
===========================================
Files 351 351
Lines 17778 17788 +10
Branches 2605 2605
===========================================
- Hits 7438 7242 -196
- Misses 9650 9896 +246
+ Partials 690 650 -40
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
toJSON
in base math class
packages/math/src/Color.ts
Outdated
|
||
/** | ||
* json serialization. | ||
* return {r: number, g: number, b: number, a: number} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use @returns
…xt-restore * commit 'add6e916a8327e492f8fec16bc0e7cd543a59566': Move font map cache from `Font` to `Engine` (galacean#1387) "v1.0.0-alpha.0" glTF parse support custom extsnions and parser (galacean#1008) Optimization `Transform` direction related API (galacean#1381) refactor: opt code refactor: opt code refactor: opt code refactor: opt code refactor: opt code feat: refactor transform API Add `toJSON` in base math class (galacean#1380)
* feat: add toJSON in base math class
* main: "v0.9.0-beta.70" fix: add shadow parser (#1411) Add `toJSON` in base math class (#1380) (#1409) refactor(particle): Add an infinite bounding box to the particle system and it will never be clipped (#1410) "v0.9.0-beta.69" Fix glTF SkinnedMeshRenderer default local bounds (#1405) Fix camera cull bug (#1396) "v0.9.0-beta.68" fix: InputManager default listener target "v0.9.0-beta.67" Fix shader compile performance on some windows device (#1390)
* dev/1.0: (41 commits) fix: package.json Support device lost (galacean#1374) "v0.9.0-beta.70" fix: add shadow parser (galacean#1411) Add `toJSON` in base math class (galacean#1380) (galacean#1409) refactor(particle): Add an infinite bounding box to the particle system and it will never be clipped (galacean#1410) "v0.9.0-beta.69" Fix glTF SkinnedMeshRenderer default local bounds (galacean#1405) Support shader replacement and sub shader (galacean#1394) Fix camera cull bug (galacean#1396) "v0.9.0-beta.68" fix: InputManager default listener target "v0.9.0-beta.67" Fix shader compile performance on some windows device (galacean#1390) Move font map cache from `Font` to `Engine` (galacean#1387) "v1.0.0-alpha.0" glTF parse support custom extsnions and parser (galacean#1008) Optimization `Transform` direction related API (galacean#1381) refactor: opt code refactor: opt code ...
* main: (514 commits) "v0.9.0-beta.73" fix: scene parser error (galacean#1426) Fix SpriteRenderer bounding box error (galacean#1425) Update README.md Update README.md "v0.9.0-beta.72" "v0.9.0-beta.71" Revert "fix: InputManager default listener target" (galacean#1414) "v0.9.0-beta.70" fix: add shadow parser (galacean#1411) Add `toJSON` in base math class (galacean#1380) (galacean#1409) refactor(particle): Add an infinite bounding box to the particle system and it will never be clipped (galacean#1410) "v0.9.0-beta.69" Fix glTF SkinnedMeshRenderer default local bounds (galacean#1405) Fix camera cull bug (galacean#1396) "v0.9.0-beta.68" fix: InputManager default listener target "v0.9.0-beta.67" Fix shader compile performance on some windows device (galacean#1390) "v0.9.0-beta.66" ...
Fix #1194