diff options
Diffstat (limited to 'lib/maths.cpp')
-rw-r--r-- | lib/maths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/maths.cpp b/lib/maths.cpp index 68662fc..bf17204 100644 --- a/lib/maths.cpp +++ b/lib/maths.cpp @@ -76,7 +76,7 @@ rotate_yp(Rotation2D a) } float -vector_yaw(const Direction3D & diff) +vector_yaw(const Direction2D & diff) { return std::atan2(diff.x, diff.y); } |