Update vector binding to work with new pybind11
This commit is contained in:
@@ -1,15 +1,3 @@
|
||||
m.def("readMESH", []
|
||||
(
|
||||
const std::string mesh_file_name,
|
||||
std::vector<std::vector<double> > & V,
|
||||
std::vector<std::vector<int> > & T,
|
||||
std::vector<std::vector<int> > & F
|
||||
)
|
||||
{
|
||||
return igl::readMESH(mesh_file_name, V, T, F);
|
||||
}, __doc_igl_readMESH,
|
||||
py::arg("mesh_file_name"), py::arg("V"), py::arg("T"), py::arg("F"));
|
||||
|
||||
m.def("readMESH", []
|
||||
(
|
||||
const std::string mesh_file_name,
|
||||
@@ -22,3 +10,18 @@ m.def("readMESH", []
|
||||
}, __doc_igl_readMESH,
|
||||
py::arg("mesh_file_name"), py::arg("V"), py::arg("T"), py::arg("F"));
|
||||
|
||||
|
||||
m.def("readMESH", []
|
||||
(
|
||||
const std::string mesh_file_name,
|
||||
std::vector<std::vector<double> > & V,
|
||||
std::vector<std::vector<int> > & T,
|
||||
std::vector<std::vector<int> > & F
|
||||
)
|
||||
{
|
||||
return igl::readMESH(mesh_file_name, V, T, F);
|
||||
}, __doc_igl_readMESH,
|
||||
py::arg("mesh_file_name"), py::arg("V"), py::arg("T"), py::arg("F"));
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user