+ add points view feature and command to triangulate it

This commit is contained in:
wmayer
2015-12-30 16:25:08 +01:00
parent 2b3d9a8a6a
commit 9dfa449543
7 changed files with 207 additions and 4 deletions

View File

@@ -345,8 +345,8 @@ Mesh.show(m)
int width;
int height;
static char* kwds_greedy[] = {"Points", "Width", "Height", NULL};
if (!PyArg_ParseTupleAndKeywords(args.ptr(), kwds.ptr(), "O!|ii", kwds_greedy,
static char* kwds_view[] = {"Points", "Width", "Height", NULL};
if (!PyArg_ParseTupleAndKeywords(args.ptr(), kwds.ptr(), "O!|ii", kwds_view,
&(Points::PointsPy::Type), &pts,
&width, &height))
throw Py::Exception();