-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
Euler type does not match ThreeJs declaration #355
Comments
@rafaelsc will you be handling the code change for this considering you referenced that larger PR or is that only documentation focused? |
I think they referenced this issue by mistake. |
I'm not quite sure I understand the issue. It seems like the three.js source code you linked to defines |
It doesn't sound like it's actually an If you have code demonstrating the issue, that would be helpful as well. |
Unfortunately when the application saves, all data is stringifies and parsed when returned. The states, defined with TS as Perhaps it's a misunderstanding on my part, but I'm a little confused why you say that Additionally, the Three link I posted above only has I have provided some code above where the issue occurs, but let me know what in specific you need in addition and I can try to provide it. Thanks for all of the help |
Unfortunately
The reason I keep calling them private is because the
To be clear, the "methods" are getters and setters and they are accessed as if it's just a normal class member (i.e.,
Do you have the code where the Euler is being stringified/parsed? It seems like maybe you have some unsound types that are letting you assign a stringified/parsed Is there a way for you to define your own |
Yes. Sorry about that. Was my mistake. |
Closing for now since I don't think this is an issue with the types, feel free to comment if you would like it to be reopened. |
three
version: 0.149.0node
version: v18.12.1npm
version: 8.19.2Problem description:
Relevant code:
Example of where the error occurs:
Suggested solution:
Redefine type with ._x, ._y, and ._z instead of x, y, z
The text was updated successfully, but these errors were encountered: