From d3e0788f77639f74eeeade667c77b89dda176dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Cerqueira?= Date: Thu, 16 May 2024 13:42:56 -0300 Subject: [PATCH] fix code styles and includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RĂ´mulo Cerqueira --- dartsim/src/SimulationFeatures_TEST.cc | 6 ++++-- include/gz/physics/GetRayIntersection.hh | 1 - include/gz/physics/detail/GetRayIntersection.hh | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dartsim/src/SimulationFeatures_TEST.cc b/dartsim/src/SimulationFeatures_TEST.cc index 9a2c83394..49f3e51dc 100644 --- a/dartsim/src/SimulationFeatures_TEST.cc +++ b/dartsim/src/SimulationFeatures_TEST.cc @@ -17,6 +17,8 @@ #include +#include + #include #include #include @@ -87,7 +89,7 @@ TEST_P(RayIntersectionSupportedFixture, RayIntersection) // ray hits the sphere auto result = world->GetRayIntersectionFromLastStep( - Eigen::Vector3d(-2, 0, 2), Eigen::Vector3d( 2, 0, 2)); + Eigen::Vector3d(-2, 0, 2), Eigen::Vector3d(2, 0, 2)); auto rayIntersection = result.template @@ -102,7 +104,7 @@ TEST_P(RayIntersectionSupportedFixture, RayIntersection) // ray does not hit the sphere result = world->GetRayIntersectionFromLastStep( - Eigen::Vector3d( 2, 0, 10), Eigen::Vector3d(-2, 0, 10)); + Eigen::Vector3d(2, 0, 10), Eigen::Vector3d(-2, 0, 10)); rayIntersection = result.template Get::RayIntersection>(); diff --git a/include/gz/physics/GetRayIntersection.hh b/include/gz/physics/GetRayIntersection.hh index 54d33a3dc..1d8f906fd 100644 --- a/include/gz/physics/GetRayIntersection.hh +++ b/include/gz/physics/GetRayIntersection.hh @@ -18,7 +18,6 @@ #ifndef GZ_PHYSICS_GETRAYINTERSECTION_HH_ #define GZ_PHYSICS_GETRAYINTERSECTION_HH_ -#include #include #include #include diff --git a/include/gz/physics/detail/GetRayIntersection.hh b/include/gz/physics/detail/GetRayIntersection.hh index a60ca207c..8448ea608 100644 --- a/include/gz/physics/detail/GetRayIntersection.hh +++ b/include/gz/physics/detail/GetRayIntersection.hh @@ -19,7 +19,6 @@ #define GZ_PHYSICS_DETAIL_GETRAYINTERSECTION_HH_ #include -#include #include namespace gz