Skip to content

Rename Math_ScaledStepToS to rotation related name#2770

Open
djevangelia wants to merge 1 commit into
zeldaret:mainfrom
djevangelia:rotationmath
Open

Rename Math_ScaledStepToS to rotation related name#2770
djevangelia wants to merge 1 commit into
zeldaret:mainfrom
djevangelia:rotationmath

Conversation

@djevangelia

Copy link
Copy Markdown

This function is only used with rotations (I didn't examine unnamed variables) and can handle the boundary between max and min values of the signed rotation integers.
My suggestion would be Math_RotationStepToS because it matches the other Math_(Something)StepToS/F.

Example using Math_RotationStepToS vs Math_StepToS with same arguments, the regular one cannot cross the boundary.
https://github.com/user-attachments/assets/7f0b1df6-3c10-4fd7-b685-676b55904c49

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.

1 participant