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 Math::stepify to snapped #44586

Merged
merged 1 commit into from
Dec 28, 2020
Merged

Conversation

madmiraal
Copy link
Contributor

As originally identified here, and as described in the @GDscript documentation, Math::stepify() returns a snapped value. Furthermore, this is what it is called in the Vector2 and Vector3 versions that use this method. Therefore, this PR renames Math::stepify() to stepped().

Part of #16863.

@madmiraal
Copy link
Contributor Author

Rebased following merge of #34193 and #44699.

@aaronfranke
Copy link
Member

I haven't compiled/tested this but it looks good. All instances of Stepify in C# are now Snapped.

@akien-mga akien-mga merged commit 6cebb8c into godotengine:master Dec 28, 2020
@akien-mga
Copy link
Member

Thanks!

@madmiraal madmiraal deleted the rename-stepify branch December 29, 2020 10:35
aaronfranke added a commit to aaronfranke/godot-cpp that referenced this pull request Sep 18, 2022
aaronfranke added a commit to aaronfranke/godot-cpp that referenced this pull request Sep 19, 2022
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.

None yet

3 participants