From bf15e852ffd5231ba4f9f69bf6274da9d13fefe4 Mon Sep 17 00:00:00 2001 From: Dennis Mannhart Date: Mon, 30 Apr 2018 15:05:57 +0200 Subject: [PATCH] style-check --- src/modules/mc_pos_control/Utility/ControlMath.cpp | 2 +- src/modules/mc_pos_control/Utility/ControlMath.hpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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); }