Skip to content

Commit

Permalink
fix code styles and includes
Browse files Browse the repository at this point in the history
Signed-off-by: Rômulo Cerqueira <[email protected]>
  • Loading branch information
romulogcerqueira committed May 28, 2024
1 parent 94e8a35 commit ecfcca7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 4 additions & 2 deletions dartsim/src/SimulationFeatures_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#include <gtest/gtest.h>

#include <string>

#include <gz/common/Console.hh>
#include <gz/physics/FindFeatures.hh>
#include <gz/plugin/Loader.hh>
Expand Down Expand Up @@ -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
Expand All @@ -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<gz::physics::World3d<TestFeatureList>::RayIntersection>();
Expand Down
1 change: 0 additions & 1 deletion include/gz/physics/GetRayIntersection.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef GZ_PHYSICS_GETRAYINTERSECTION_HH_
#define GZ_PHYSICS_GETRAYINTERSECTION_HH_

#include <vector>
#include <gz/physics/FeatureList.hh>
#include <gz/physics/ForwardStep.hh>
#include <gz/physics/Geometry.hh>
Expand Down
1 change: 0 additions & 1 deletion include/gz/physics/detail/GetRayIntersection.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#define GZ_PHYSICS_DETAIL_GETRAYINTERSECTION_HH_

#include <utility>
#include <vector>
#include <gz/physics/GetRayIntersection.hh>

namespace gz
Expand Down

0 comments on commit ecfcca7

Please sign in to comment.