Searched refs:numpts (Results 1 – 2 of 2) sorted by relevance
59 void rt_polycylinder(void *tex, vector *points, int numpts, apiflt rad) { in rt_polycylinder() argument63 if ((points == nullptr) || (numpts == 0)) { in rt_polycylinder()67 if (numpts > 0) { in rt_polycylinder()70 if (numpts > 1) { in rt_polycylinder()71 for (i = 1; i < numpts; i++) { in rt_polycylinder()
585 int numpts, i; in GetPolyCylinder() local589 fscanf(dfile, "%d", &numpts); in GetPolyCylinder()591 temp = (vector *)malloc(numpts * sizeof(vector)); in GetPolyCylinder()593 for (i = 0; i < numpts; i++) { in GetPolyCylinder()602 rt_polycylinder(tex, temp, numpts, rad); in GetPolyCylinder()