From 3211b8ff70cba4e95e118f90c10c7922cea31914 Mon Sep 17 00:00:00 2001
From: Lucile Remigy <lucile.remigy@epitech.eu>
Date: Fri, 27 Sep 2019 14:36:33 +0200
Subject: [PATCH] intersect.h private -> class Project private

---
 src/intersect.cpp                    | 2 +-
 {include/hpp/fcl => src}/intersect.h | 0
 src/narrowphase/gjk.cpp              | 2 +-
 src/narrowphase/narrowphase.cpp      | 2 +-
 src/traversal/traversal_node_bvhs.h  | 2 +-
 test/math.cpp                        | 2 +-
 test/simple.cpp                      | 2 +-
 7 files changed, 6 insertions(+), 6 deletions(-)
 rename {include/hpp/fcl => src}/intersect.h (100%)

diff --git a/src/intersect.cpp b/src/intersect.cpp
index 1002ed98..21c8c4b6 100644
--- a/src/intersect.cpp
+++ b/src/intersect.cpp
@@ -35,7 +35,7 @@
 
 /** \author Jia Pan */
 
-#include <hpp/fcl/intersect.h>
+#include "intersect.h"
 #include <iostream>
 #include <limits>
 #include <vector>
diff --git a/include/hpp/fcl/intersect.h b/src/intersect.h
similarity index 100%
rename from include/hpp/fcl/intersect.h
rename to src/intersect.h
diff --git a/src/narrowphase/gjk.cpp b/src/narrowphase/gjk.cpp
index 54393566..b2beb652 100644
--- a/src/narrowphase/gjk.cpp
+++ b/src/narrowphase/gjk.cpp
@@ -36,7 +36,7 @@
 /** \author Jia Pan */
 
 #include <hpp/fcl/narrowphase/gjk.h>
-#include <hpp/fcl/intersect.h>
+#include "../intersect.h"
 #include "../math/tools.h"
 
 namespace hpp
diff --git a/src/narrowphase/narrowphase.cpp b/src/narrowphase/narrowphase.cpp
index 619c77c9..f0b29a72 100644
--- a/src/narrowphase/narrowphase.cpp
+++ b/src/narrowphase/narrowphase.cpp
@@ -37,7 +37,7 @@
 
 #include <hpp/fcl/narrowphase/narrowphase.h>
 #include <hpp/fcl/shape/geometric_shapes_utility.h>
-#include <hpp/fcl/intersect.h>
+#include "../intersect.h"
 #include <boost/math/constants/constants.hpp>
 #include <vector>
 #include "../src/narrowphase/details.h"
diff --git a/src/traversal/traversal_node_bvhs.h b/src/traversal/traversal_node_bvhs.h
index f0ca5d16..b35e9783 100644
--- a/src/traversal/traversal_node_bvhs.h
+++ b/src/traversal/traversal_node_bvhs.h
@@ -44,7 +44,7 @@
 #include <hpp/fcl/BV/BV_node.h>
 #include <hpp/fcl/BV/BV.h>
 #include <hpp/fcl/BVH/BVH_model.h>
-#include <hpp/fcl/intersect.h>
+#include "../intersect.h"
 #include <hpp/fcl/shape/geometric_shapes.h>
 #include <hpp/fcl/narrowphase/narrowphase.h>
 #include "details/traversal.h"
diff --git a/test/math.cpp b/test/math.cpp
index fb872745..87062cb9 100644
--- a/test/math.cpp
+++ b/test/math.cpp
@@ -42,7 +42,7 @@
 #include <hpp/fcl/data_types.h>
 #include <hpp/fcl/math/transform.h>
 
-#include <hpp/fcl/intersect.h>
+#include "../src/intersect.h"
 #include "../src/math/tools.h"
 
 using namespace hpp::fcl;
diff --git a/test/simple.cpp b/test/simple.cpp
index 725f6ac6..67ccd869 100644
--- a/test/simple.cpp
+++ b/test/simple.cpp
@@ -3,7 +3,7 @@
 #include <boost/test/unit_test.hpp>
 #include <boost/utility/binary.hpp>
 
-#include <hpp/fcl/intersect.h>
+#include "../src/intersect.h"
 #include <hpp/fcl/collision.h>
 #include <hpp/fcl/BVH/BVH_model.h>
 #include "fcl_resources/config.h"
-- 
GitLab