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

Rename and unify notation for spherical interpolation #63532

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

TokageItLab
Copy link
Member

@TokageItLab TokageItLab commented Jul 27, 2022

Cubic interpolation was implemented some correctly by #63380.

The name cubic_slerp() has a contradictory meaning, "cubic spherical linear interpolation", so it is renamed spherical_cubic_interpolate() to correspond to slerp(). I felt that scerp() is odd.

Transform3D::sphere_interpolate_with() is also renamed to Transform3D::spherical_interpolate_with() to accommodate this.

@akien-mga akien-mga merged commit a5f12f9 into godotengine:master Jul 28, 2022
@akien-mga
Copy link
Member

Thanks!

@TokageItLab TokageItLab deleted the rename-cubic-slerp branch September 16, 2022 21:05
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.

5 participants