Updated tutorial 404 to use features of newer pybind11 version,
Introduced typedefs
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include <Eigen/Dense>
|
||||
|
||||
#include "python_shared.h"
|
||||
#include "modules/py_typedefs.h"
|
||||
|
||||
% for f in functions:
|
||||
#include <igl/${f}.h>
|
||||
@@ -9,6 +10,8 @@
|
||||
|
||||
void python_export_igl(py::module &m)
|
||||
{
|
||||
#include "modules/py_typedefs.cpp"
|
||||
|
||||
% for f in functions:
|
||||
#include "py_igl/py_${f}.cpp"
|
||||
% endfor
|
||||
|
||||
Reference in New Issue
Block a user