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

NexusKitten/moremotion: Replace atan with atan2 #1880

Merged
merged 3 commits into from
Feb 1, 2025

Conversation

DNin01
Copy link
Collaborator

@DNin01 DNin01 commented Jan 21, 2025

Advantages:

  • Does essentially the same thing but with less lines of code
  • Reports values between -180 and 180 instead of between -90 and 270

Kind of like #1460 but for a different extension.

Of course, the old blocks are still there for backwards compatibility.

@DNin01 DNin01 added the pr: change existing extension Pull requests that change an existing extension label Jan 21, 2025
@DNin01 DNin01 requested a review from GarboMuffin January 21, 2025 02:09
@GarboMuffin
Copy link
Member

Might not need to do a v2 for this

@GarboMuffin
Copy link
Member

Autolaber failure unrelated to your changes

@GarboMuffin
Copy link
Member

"direction to" needs a v2 but "point to" does not

@CubesterYT CubesterYT merged commit 72d6db8 into TurboWarp:master Feb 1, 2025
3 checks passed
@@ -65,6 +65,7 @@
},
},
extensions: ["colours_motion"],
hideFromPalette: true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@GarboMuffin Oops? I'm pretty sure this block should be visible on the block palette.

Copy link
Member

Choose a reason for hiding this comment

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

oops

Copy link
Member

Choose a reason for hiding this comment

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

think i have a comment in there that's also wrong, i said old version was 0-360 when its -90-270

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: change existing extension Pull requests that change an existing extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants