#include "DllImport.h"
Go to the source code of this file.
Classes | |
struct | _x3d_data_ |
struct | _x3d_sizeof_ |
Defines | |
#define | gSize3D (*gFuncSize3D()) |
Typedefs | |
typedef _x3d_data_ | X3DBuffer |
typedef _x3d_sizeof_ | Size3D |
Functions | |
int | AllocateX3DBuffer () |
void | FillX3DBuffer (X3DBuffer *buff) |
Size3D * | gFuncSize3D () |
#define gSize3D (*gFuncSize3D()) |
Definition at line 42 of file X3DBuffer.h.
typedef struct _x3d_sizeof_ Size3D |
typedef struct _x3d_data_ X3DBuffer |
int AllocateX3DBuffer | ( | ) |
Definition at line 25 of file X3DBuffer.c.
References COLOR_::blue, calloc(), colors, free(), COLOR_::green, gSize3D, NULL, points, polys, COLOR_::red, segs, and sizeof().
void FillX3DBuffer | ( | X3DBuffer * | buff | ) |
Definition at line 140 of file X3DBuffer.c.
References c, calloc(), POLYGON::color, SEGMENT::color, colors, currPoint, currPoly, currSeg, i, j, n, NULL, _x3d_data_::numPoints, _x3d_data_::numPolys, _x3d_data_::numSegs, POLYGON::numSegs, POINT::numSegs, SEGMENT::P, p, _x3d_data_::points, points, _x3d_data_::polys, SEGMENT::polys, polys, SEGMENT::Q, realloc(), segs, POLYGON::segs, POINT::segs, _x3d_data_::segs, x, POINT::y, and POINT::z.
Size3D* gFuncSize3D | ( | ) |