Skip to content

Commit 03e1097

Browse files
committed
Remove deprecated methods.
1 parent 3db6bfa commit 03e1097

File tree

3 files changed

+0
-30
lines changed

3 files changed

+0
-30
lines changed

src/f32/vec2.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -938,16 +938,6 @@ impl Vec2 {
938938
math::atan2(self.y, self.x)
939939
}
940940

941-
#[inline]
942-
#[must_use]
943-
#[deprecated(
944-
since = "0.27.0",
945-
note = "Use angle_to() instead, the semantics of angle_between will change in the future."
946-
)]
947-
pub fn angle_between(self, rhs: Self) -> f32 {
948-
self.angle_to(rhs)
949-
}
950-
951941
/// Returns the angle of rotation (in radians) from `self` to `rhs` in the range `[-π, +π]`.
952942
///
953943
/// The inputs do not need to be unit vectors however they must be non-zero.

src/f64/dvec2.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -938,16 +938,6 @@ impl DVec2 {
938938
math::atan2(self.y, self.x)
939939
}
940940

941-
#[inline]
942-
#[must_use]
943-
#[deprecated(
944-
since = "0.27.0",
945-
note = "Use angle_to() instead, the semantics of angle_between will change in the future."
946-
)]
947-
pub fn angle_between(self, rhs: Self) -> f64 {
948-
self.angle_to(rhs)
949-
}
950-
951941
/// Returns the angle of rotation (in radians) from `self` to `rhs` in the range `[-π, +π]`.
952942
///
953943
/// The inputs do not need to be unit vectors however they must be non-zero.

templates/vec.rs.tera

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,16 +2266,6 @@ impl {{ self_t }} {
22662266
math::atan2(self.y, self.x)
22672267
}
22682268

2269-
#[inline]
2270-
#[must_use]
2271-
#[deprecated(
2272-
since = "0.27.0",
2273-
note = "Use angle_to() instead, the semantics of angle_between will change in the future."
2274-
)]
2275-
pub fn angle_between(self, rhs: Self) -> {{ scalar_t }} {
2276-
self.angle_to(rhs)
2277-
}
2278-
22792269
/// Returns the angle of rotation (in radians) from `self` to `rhs` in the range `[-π, +π]`.
22802270
///
22812271
/// The inputs do not need to be unit vectors however they must be non-zero.

0 commit comments

Comments
 (0)