Skip to content

Commit ef2e125

Browse files
committed
Remove deprecated methods.
1 parent 919f6aa commit ef2e125

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
@@ -935,16 +935,6 @@ impl Vec2 {
935935
math::atan2(self.y, self.x)
936936
}
937937

938-
#[inline]
939-
#[must_use]
940-
#[deprecated(
941-
since = "0.27.0",
942-
note = "Use angle_to() instead, the semantics of angle_between will change in the future."
943-
)]
944-
pub fn angle_between(self, rhs: Self) -> f32 {
945-
self.angle_to(rhs)
946-
}
947-
948938
/// Returns the angle of rotation (in radians) from `self` to `rhs` in the range `[-π, +π]`.
949939
///
950940
/// 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
@@ -935,16 +935,6 @@ impl DVec2 {
935935
math::atan2(self.y, self.x)
936936
}
937937

938-
#[inline]
939-
#[must_use]
940-
#[deprecated(
941-
since = "0.27.0",
942-
note = "Use angle_to() instead, the semantics of angle_between will change in the future."
943-
)]
944-
pub fn angle_between(self, rhs: Self) -> f64 {
945-
self.angle_to(rhs)
946-
}
947-
948938
/// Returns the angle of rotation (in radians) from `self` to `rhs` in the range `[-π, +π]`.
949939
///
950940
/// 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
@@ -2251,16 +2251,6 @@ impl {{ self_t }} {
22512251
math::atan2(self.y, self.x)
22522252
}
22532253

2254-
#[inline]
2255-
#[must_use]
2256-
#[deprecated(
2257-
since = "0.27.0",
2258-
note = "Use angle_to() instead, the semantics of angle_between will change in the future."
2259-
)]
2260-
pub fn angle_between(self, rhs: Self) -> {{ scalar_t }} {
2261-
self.angle_to(rhs)
2262-
}
2263-
22642254
/// Returns the angle of rotation (in radians) from `self` to `rhs` in the range `[-π, +π]`.
22652255
///
22662256
/// The inputs do not need to be unit vectors however they must be non-zero.

0 commit comments

Comments
 (0)