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 @@ -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.
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments