diff --git a/src/modules/mc_pos_control/Utility/ControlMath.cpp b/src/modules/mc_pos_control/Utility/ControlMath.cpp index 44c916f595..af030f59f5 100644 --- a/src/modules/mc_pos_control/Utility/ControlMath.cpp +++ b/src/modules/mc_pos_control/Utility/ControlMath.cpp @@ -175,7 +175,7 @@ matrix::Vector2f constrainXY(const matrix::Vector2f &v0, const matrix::Vector2f } bool cross_sphere_line(const matrix::Vector3f &sphere_c, const float sphere_r, - const matrix::Vector3f &line_a, const matrix::Vector3f &line_b, matrix::Vector3f &res) + const matrix::Vector3f &line_a, const matrix::Vector3f &line_b, matrix::Vector3f &res) { // project center of sphere on line normalized AB matrix::Vector3f ab_norm = line_b - line_a; diff --git a/src/modules/mc_pos_control/Utility/ControlMath.hpp b/src/modules/mc_pos_control/Utility/ControlMath.hpp index 85107691bd..0755b12502 100644 --- a/src/modules/mc_pos_control/Utility/ControlMath.hpp +++ b/src/modules/mc_pos_control/Utility/ControlMath.hpp @@ -77,5 +77,6 @@ matrix::Vector2f constrainXY(const matrix::Vector2f &v0, const matrix::Vector2f * * Note: this method is not used anywhere and first requires review before usage. */ -bool cross_sphere_line(const matrix::Vector3f &sphere_c, const float sphere_r, const matrix::Vector3f &line_a, const matrix::Vector3f &line_b, matrix::Vector3f &res); +bool cross_sphere_line(const matrix::Vector3f &sphere_c, const float sphere_r, const matrix::Vector3f &line_a, + const matrix::Vector3f &line_b, matrix::Vector3f &res); }