mirror of
https://github.com/bevyengine/bevy
synced 2025-01-08 11:18:55 +00:00
03991cd595
# Objective `glam` has opted to rename `Vec2::angle_between` to `Vec2::angle_to` because of the difference in semantics compared to `Vec3::angle_between` and others which return an unsigned angle `[0, PI]` where `Vec2::angle_between` returns a signed angle `[-PI, PI]`. We should follow suit for `Rot2` in 0.15 to avoid further confusion. Links: - https://github.com/bitshifter/glam-rs/issues/514#issuecomment-2143202294 - https://github.com/bitshifter/glam-rs/pull/524 ## Migration Guide `Rot2::angle_between` has been deprecated, use `Rot2::angle_to` instead, the semantics of `Rot2::angle_between` will change in the future. --------- Co-authored-by: Joona Aalto <jondolf.dev@gmail.com> |
||
---|---|---|
.. | ||
bounding | ||
curve | ||
primitives | ||
rects | ||
sampling | ||
affine3.rs | ||
aspect_ratio.rs | ||
common_traits.rs | ||
compass.rs | ||
cubic_splines.rs | ||
direction.rs | ||
float_ord.rs | ||
isometry.rs | ||
lib.rs | ||
ops.rs | ||
ray.rs | ||
rotation2d.rs |