50 #define GLUES_INVALID_ENUM 100900 51 #define GLUES_INVALID_VALUE 100901 52 #define GLUES_OUT_OF_MEMORY 100902 53 #define GLUES_INCOMPATIBLE_GL_VERSION 100903 54 #define GLUES_INVALID_OPERATION 100904 63 typedef void (* _GLUESfuncptr)();
65 GLint gluesBuild2DMipmapLevels(GLenum target, GLint internalFormat,
66 GLsizei width, GLsizei height, GLenum format,
67 GLenum type, GLint userLevel, GLint baseLevel,
68 GLint maxLevel,
const void *data);
69 GLint gluesBuild2DMipmaps(GLenum target, GLint internalFormat,
70 GLsizei width, GLsizei height, GLenum format,
71 GLenum type,
const void* data);
73 #ifndef GLUES_TESS_MAX_COORD 74 #define GLUES_TESS_MAX_COORD 1.0e37f 78 #define GLUES_TESS_BEGIN 100100 79 #define GLUES_BEGIN 100100 80 #define GLUES_TESS_VERTEX 100101 81 #define GLUES_VERTEX 100101 82 #define GLUES_TESS_END 100102 83 #define GLUES_END 100102 84 #define GLUES_TESS_ERROR 100103 85 #define GLUES_TESS_EDGE_FLAG 100104 86 #define GLUES_EDGE_FLAG 100104 87 #define GLUES_TESS_COMBINE 100105 88 #define GLUES_TESS_BEGIN_DATA 100106 89 #define GLUES_TESS_VERTEX_DATA 100107 90 #define GLUES_TESS_END_DATA 100108 91 #define GLUES_TESS_ERROR_DATA 100109 92 #define GLUES_TESS_EDGE_FLAG_DATA 100110 93 #define GLUES_TESS_COMBINE_DATA 100111 96 #define GLUES_CW 100120 97 #define GLUES_CCW 100121 98 #define GLUES_INTERIOR 100122 99 #define GLUES_EXTERIOR 100123 100 #define GLUES_UNKNOWN 100124 103 #define GLUES_TESS_WINDING_RULE 100140 104 #define GLUES_TESS_BOUNDARY_ONLY 100141 105 #define GLUES_TESS_TOLERANCE 100142 108 #define GLUES_TESS_ERROR1 100151 109 #define GLUES_TESS_ERROR2 100152 110 #define GLUES_TESS_ERROR3 100153 111 #define GLUES_TESS_ERROR4 100154 112 #define GLUES_TESS_ERROR5 100155 113 #define GLUES_TESS_ERROR6 100156 114 #define GLUES_TESS_ERROR7 100157 115 #define GLUES_TESS_ERROR8 100158 116 #define GLUES_TESS_MISSING_BEGIN_POLYGON 100151 117 #define GLUES_TESS_MISSING_BEGIN_CONTOUR 100152 118 #define GLUES_TESS_MISSING_END_POLYGON 100153 119 #define GLUES_TESS_MISSING_END_CONTOUR 100154 120 #define GLUES_TESS_COORD_TOO_LARGE 100155 121 #define GLUES_TESS_NEED_COMBINE_CALLBACK 100156 124 #define GLUES_TESS_WINDING_ODD 100130 125 #define GLUES_TESS_WINDING_NONZERO 100131 126 #define GLUES_TESS_WINDING_POSITIVE 100132 127 #define GLUES_TESS_WINDING_NEGATIVE 100133 128 #define GLUES_TESS_WINDING_ABS_GEQ_TWO 100134 133 void gluesGetTessProperty(
GLUEStesselator* tess, GLenum which,
double* data);
138 void gluesTessCallback(
GLUEStesselator* tess, GLenum which, _GLUESfuncptr CallBackFunc);
141 void gluesTessNormal(
GLUEStesselator* tess,
double valueX,
double valueY,
double valueZ);
142 void gluesTessProperty(
GLUEStesselator* tess, GLenum which,
double data);
143 void gluesTessVertex(
GLUEStesselator* tess,
double* location, GLvoid* data);
145 const GLubyte* gluesErrorString(GLenum errorCode);