Added PNG module and tutorial 607

Former-commit-id: c0e04685e2
This commit is contained in:
Sebastian Koch
2016-06-17 18:51:38 +02:00
parent 54d4e1a9e4
commit b275c3672a
11 changed files with 179 additions and 1 deletions
+8
View File
@@ -30,6 +30,10 @@ extern void python_export_igl_triangle(py::module &);
extern void python_export_igl_cgal(py::module &);
#endif
#ifdef PY_PNG
extern void python_export_igl_png(py::module &);
#endif
PYBIND11_PLUGIN(pyigl) {
py::module m("pyigl", R"pyigldoc(
Python wrappers for libigl
@@ -74,5 +78,9 @@ PYBIND11_PLUGIN(pyigl) {
python_export_igl_cgal(m);
#endif
#ifdef PY_PNG
python_export_igl_png(m);
#endif
return m.ptr();
}