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

change: Added Vector3.setFromEuler(); removed Euler.toVector3() #184

Closed
wants to merge 1 commit into from

Conversation

0b5vr
Copy link
Contributor

@0b5vr 0b5vr commented Mar 1, 2022

Why

To catch up with r138

What

See: mrdoob/three.js#23494

  • Add Vector3.setFromEuler
  • Make Euler.toVector3 deprecated

Points need review

  • Euler.toVector3 actually does not fallback to the new Vector3.setFromEuler (code). Is this okay to mark this be deprecated or should I remove the signature instead?

Checklist

  • Checked the target branch (current goes master, next goes dev)
  • Added myself to contributors table
  • Ready to be merged

@0b5vr 0b5vr mentioned this pull request Mar 1, 2022
16 tasks

/**
* @deprecated .toVector3() has been removed. Use {@link Vector3.setFromEuler Vector3.setFromEuler()} instead
*/
toVector3(optionalResult?: Vector3): Vector3;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If they've removed it from the source, we should remove it here.

@joshuaellis
Copy link
Member

closed in favour of b1f8b5f

@joshuaellis joshuaellis closed this Mar 1, 2022
@0b5vr 0b5vr deleted the vector3-setfromeuler branch March 1, 2022 10:12
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.

2 participants