| 208 | | fprintf (geompipe, "%g %g %g %g %g %g %g\n", points[i].x, points[i].y, |
| 209 | | points[i].z, points[i].red, points[i].green, points[i].blue, |
| 210 | | points[i].alpha); |
| 211 | | |
| | 215 | { |
| | 216 | fprintf (geompipe, "%g %g %g %g %g %g %g\n", points[i].x, points[i].y, |
| | 217 | points[i].z, points[i].red, points[i].green, points[i].blue, |
| | 218 | points[i].alpha); |
| | 219 | #ifdef DEBUG |
| | 220 | printf ("%g %g %g %g %g %g %g\n", points[i].x, points[i].y, |
| | 221 | points[i].z, points[i].red, points[i].green, points[i].blue, |
| | 222 | points[i].alpha); |
| | 223 | #endif |
| | 224 | } |
| 213 | | fprintf (geompipe, "3 %d %d %d\n", theboundary->edges [c*i], |
| 214 | | (c>1) ? theboundary->edges [c*i+1] : theboundary->edges [c*i], |
| 215 | | (c>2) ? theboundary->edges [c*i+2] : theboundary->edges [c*i]); |
| | 226 | { |
| | 227 | fprintf (geompipe, "3 %d %d %d\n", theboundary->edges [c*i], |
| | 228 | (c>1) ? theboundary->edges [c*i+1] : theboundary->edges [c*i], |
| | 229 | (c>2) ? theboundary->edges [c*i+2] : theboundary->edges [c*i]); |
| | 230 | #ifdef DEBUG |
| | 231 | printf ("3 %d %d %d\n", theboundary->edges [c*i], |
| | 232 | (c>1) ? theboundary->edges [c*i+1] : theboundary->edges [c*i], |
| | 233 | (c>2) ? theboundary->edges [c*i+2] : theboundary->edges [c*i]); |
| | 234 | #endif |
| | 235 | } |