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
|
false
|
||||||
} else if !ApproxEq::approx_eq(&self.magnitude, &other.magnitude) {
|
} else if !ApproxEq::approx_eq(&self.magnitude, &other.magnitude) {
|
||||||
false
|
false
|
||||||
} else if !ApproxEq::approx_eq(&self.angle, &other.angle)
|
} else if !(ApproxEq::approx_eq(&self.angle, &other.angle)
|
||||||
|| !ApproxEq::approx_eq(&self.angle.signed(), &other.angle.signed())
|
|| ApproxEq::approx_eq(&self.angle.signed(), &other.angle.signed()))
|
||||||
{
|
{
|
||||||
false
|
false
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user