Эх сурвалжийг харах

merge?

Former-commit-id: 509c3753e090df50f6d8995074a6a633e4dd094a
Alec Jacobson 9 жил өмнө
parent
commit
fc615285c7

+ 23 - 23
include/igl/copyleft/boolean/BinaryWindingNumberOperations.h

@@ -22,12 +22,12 @@ namespace igl
     {
       template <igl::copyleft::boolean::MeshBooleanType Op>
       class BinaryWindingNumberOperations {
-          public:
-              template<typename DerivedW>
-                  typename DerivedW::Scalar operator()(
-                          const Eigen::PlainObjectBase<DerivedW>& /*win_nums*/) const {
-                      throw (std::runtime_error("not implemented!"));
-                  }
+        public:
+          template<typename DerivedW>
+            typename DerivedW::Scalar operator()(
+                const Eigen::PlainObjectBase<DerivedW>& /*win_nums*/) const {
+              throw (std::runtime_error("not implemented!"));
+            }
       };
 
       template <>
@@ -73,12 +73,12 @@ namespace igl
 
       template <>
       class BinaryWindingNumberOperations<igl::copyleft::boolean::MESH_BOOLEAN_TYPE_RESOLVE> {
-          public:
-              template<typename DerivedW>
-                  typename DerivedW::Scalar operator()(
-                          const Eigen::PlainObjectBase<DerivedW>& /*win_nums*/) const {
-                      return true;
-                  }
+        public:
+          template<typename DerivedW>
+            typename DerivedW::Scalar operator()(
+                const Eigen::PlainObjectBase<DerivedW>& /*win_nums*/) const {
+              return true;
+            }
       };
 
       typedef BinaryWindingNumberOperations<MESH_BOOLEAN_TYPE_UNION> BinaryUnion;
@@ -94,12 +94,12 @@ namespace igl
 
       template<KeeperType T>
       class WindingNumberFilter {
-          public:
-              template<typename DerivedW>
-                  short operator()(
-                          const Eigen::PlainObjectBase<DerivedW>& /*win_nums*/) const {
-                      throw std::runtime_error("Not implemented");
-                  }
+        public:
+          template<typename DerivedW>
+            short operator()(
+                const Eigen::PlainObjectBase<DerivedW>& /*win_nums*/) const {
+              throw std::runtime_error("Not implemented");
+            }
       };
 
       template<>
@@ -115,11 +115,11 @@ namespace igl
 
       template<>
       class WindingNumberFilter<KEEP_ALL> {
-          public:
-              template<typename T>
-                  short operator()(T /*out_w*/, T /*in_w*/) const {
-                      return 1;
-                  }
+        public:
+          template<typename T>
+            short operator()(T /*out_w*/, T /*in_w*/) const {
+              return 1;
+            }
       };
 
       typedef WindingNumberFilter<KEEP_INSIDE> KeepInside;