Skip to content

Issue 514#755

Merged
bitshifter merged 6 commits into
mainfrom
issue-514
Jun 29, 2026
Merged

Issue 514#755
bitshifter merged 6 commits into
mainfrom
issue-514

Conversation

@bitshifter

Copy link
Copy Markdown
Owner

Objective

  • Made a Vec3::angle_to equivalent to Vec2::angle_to which takes an axis of rotation and returns a signed angle, this can be used in Vec3::rotate_axis
  • Added Vec2::rotate_angle as a convenience for self.rotate(Vec2::from_angle(angle))
  • Improved docs
  • Fixes Vec2/3's angle_between function is unclear/misleading #514

@bitshifter bitshifter merged commit 16e0d32 into main Jun 29, 2026
27 of 50 checks passed
@bitshifter bitshifter deleted the issue-514 branch June 29, 2026 11:14
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.

Vec2/3's angle_between function is unclear/misleading

1 participant