Skip to content

Add Angle::difference#39

Merged
orsinium merged 2 commits intomainfrom
feature/angle-difference
Jan 14, 2026
Merged

Add Angle::difference#39
orsinium merged 2 commits intomainfrom
feature/angle-difference

Conversation

@applejag
Copy link
Collaborator

@applejag applejag commented Jan 13, 2026

Utility function that's nice to have

This function does not exist in the other SDKs. There's also more utility functions we could port from Godot, like lerp_angle and rotate_toward. But I'm leaving that for a future PR.

@applejag applejag added the enhancement New feature or request label Jan 13, 2026
@applejag applejag self-assigned this Jan 13, 2026
@applejag applejag added the enhancement New feature or request label Jan 13, 2026
@applejag applejag requested a review from orsinium January 13, 2026 21:41
@orsinium
Copy link
Member

There's also more utility functions we could port from Godot, like lerp_angle and rotate_toward

great idea!

some of the test results look weird to me. i'm not sure if understand the function correctly 🤔

@orsinium orsinium merged commit 7c0dfe0 into main Jan 14, 2026
2 checks passed
@orsinium orsinium deleted the feature/angle-difference branch January 14, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants