File indexing completed on 2025-01-18 10:12:36
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_X3DBuffer
0013 #define ROOT_X3DBuffer
0014
0015 typedef struct _x3d_data_ {
0016 int numPoints;
0017 int numSegs;
0018 int numPolys;
0019 float *points;
0020 int *segs;
0021 int *polys;
0022 } X3DBuffer;
0023
0024 typedef struct _x3d_sizeof_ {
0025 int numPoints;
0026 int numSegs;
0027 int numPolys;
0028 } Size3D;
0029
0030 #ifdef __cplusplus
0031 extern "C" int AllocateX3DBuffer ();
0032 extern "C" void FillX3DBuffer (X3DBuffer *buff);
0033 extern "C" Size3D* gFuncSize3D();
0034 #else
0035 extern int AllocateX3DBuffer ();
0036 extern void FillX3DBuffer (X3DBuffer *buff);
0037 extern Size3D* gFuncSize3D();
0038 #endif
0039
0040 #define gSize3D (*gFuncSize3D())
0041
0042 #endif