Skip to content
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

Vector*: Add toJSON() methods. #24172

Closed
wants to merge 1 commit into from
Closed

Vector*: Add toJSON() methods. #24172

wants to merge 1 commit into from

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jun 2, 2022

Related issue: #24167 (comment)

Description

Adds a toJSON() method to all vector classes so the is* properties are not honored when the default JS serialization is used.

@mrdoob
Copy link
Owner

mrdoob commented Jun 8, 2022

If #24199 (comment) works well this PR should no longer be needed 🤞

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Jun 8, 2022

Indeed. Let's close this for now.

BTW: @gkjohnson highlighted in #24167 (comment) that toJSON() methods could also be added at application level if someone really needs them. Maybe we don't need the PR at all? 😇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants