Lines Matching refs:ncoords
246 long ncoords; in gl_nurbssurface() local
273 ncoords = 3; in gl_nurbssurface()
275 ncoords = 4; in gl_nurbssurface()
288 if ((arg5 = PyMem_NEW(double, s_nctl*t_nctl*ncoords )) == NULL) { in gl_nurbssurface()
301 if (!PyArg_GetDoubleArray(pt, 1, 0, ncoords, pnext)) in gl_nurbssurface()
303 pnext += ncoords; in gl_nurbssurface()
306 s_byte_stride = sizeof(double) * ncoords; in gl_nurbssurface()
330 int ncoords, npoints; in gl_nurbscurve() local
346 ncoords = 2; in gl_nurbscurve()
348 ncoords = 3; in gl_nurbscurve()
360 if ((arg4 = PyMem_NEW(double, npoints*ncoords )) == NULL) { in gl_nurbscurve()
365 if (!PyArg_GetDoubleArray(PyList_GetItem(v, i), 1, 0, ncoords, pnext)) in gl_nurbscurve()
367 pnext += ncoords; in gl_nurbscurve()
369 arg3 = (sizeof(double)) * ncoords; in gl_nurbscurve()
387 long npoints, ncoords; in gl_pwlcurve() local
399 ncoords = 2; in gl_pwlcurve()
404 if ((data = PyMem_NEW(double, npoints*ncoords)) == NULL) { in gl_pwlcurve()
409 if (!PyArg_GetDoubleArray(PyList_GetItem(v, i), 1, 0, ncoords, pnext)) in gl_pwlcurve()
411 pnext += ncoords; in gl_pwlcurve()
413 pwlcurve(npoints, data, sizeof(double)*ncoords, type); in gl_pwlcurve()