Explorar o código

default constructor with 2 args

Former-commit-id: da1830a249c4ab3d568526988619d305a518373b
Alec Jacobson %!s(int64=10) %!d(string=hai) anos
pai
achega
8df010c95d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/igl/cgal/RemeshSelfIntersectionsParam.h

+ 2 - 0
include/igl/cgal/RemeshSelfIntersectionsParam.h

@@ -19,6 +19,8 @@ namespace igl
       bool detect_only;
       bool first_only;
       RemeshSelfIntersectionsParam():detect_only(false),first_only(false){};
+      RemeshSelfIntersectionsParam(bool _detect_only, bool _first_only):
+        detect_only(_detect_only),first_only(_first_only){};
     };
   }
 }