File tree Expand file tree Collapse file tree 3 files changed +0
-30
lines changed Expand file tree Collapse file tree 3 files changed +0
-30
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments