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

Discontinued spherical_interpolate_with() in Transform3D #65131

Merged
merged 1 commit into from
Aug 31, 2022

Conversation

TokageItLab
Copy link
Member

@TokageItLab TokageItLab commented Aug 31, 2022

When I implemented Basis::lerp() for Node3D::rotation_edit_mode, I added Transform3D::spherical_interpolate_with() separately from Transform3D::interpolate_with(), but I think it will never be used in practice.

Also, interpolate_with() existed in Transform2D, which uses slerp() as its default and was not consistent. So I think that rather than implementing spherical_interpolate_with() in Transform2D, it is a right way to implement spherical_interpolate_with() in Transform3D and do slerp() in Transform3D::interpolate_with().

@akien-mga akien-mga merged commit 46a568e into godotengine:master Aug 31, 2022
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants