Fill in triangle index
Definition at line 414 of file lwout_x3d.c.
415{
416 uint32_t i;
417 uint32_t k;
418
419
421 k = 0;
423 for (i=0; i<tin->
ngeoms; i++)
424 {
426 if (i < (tin->
ngeoms - 1) )
427 {
429 }
430 k += 3;
431 }
432
435
436 for (i=0; i<tin->
ngeoms; i++)
437 {
439 if (i < (tin->
ngeoms - 1) )
440 {
442 }
443 }
444
445
446
448}
#define LW_X3D_FLIP_XY
Macros for specifying X3D options.
#define X3D_USE_GEOCOORDS(x)
static int asx3d3_triangle_sb(const LWTRIANGLE *triangle, int precision, int opts, __attribute__((__unused__)) const char *defid, stringbuffer_t *sb)
int stringbuffer_aprintf(stringbuffer_t *s, const char *fmt,...)
Appends a formatted string to the current string buffer, using the format and argument list provided.
References asx3d3_triangle_sb(), LWTIN::geoms, LW_X3D_FLIP_XY, LWTIN::ngeoms, precision, stringbuffer_aprintf(), and X3D_USE_GEOCOORDS.
Referenced by asx3d3_collection_sb(), and lwgeom_to_x3d3_sb().