mirror of
https://github.com/gnxlxnxx/dubins_path
synced 2026-07-27 07:03:03 +02:00
Fix Angle approximation
This commit is contained in:
+2
-2
@@ -38,8 +38,8 @@ impl Vector {
|
||||
false
|
||||
} else if !ApproxEq::approx_eq(&self.magnitude, &other.magnitude) {
|
||||
false
|
||||
} else if !ApproxEq::approx_eq(&self.angle, &other.angle)
|
||||
|| !ApproxEq::approx_eq(&self.angle.signed(), &other.angle.signed())
|
||||
} else if !(ApproxEq::approx_eq(&self.angle, &other.angle)
|
||||
|| ApproxEq::approx_eq(&self.angle.signed(), &other.angle.signed()))
|
||||
{
|
||||
false
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user