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[ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /externals/g4tools/include/tools/glutess/_glu (Version 11.3.0) and /externals/g4tools/include/tools/glutess/_glu (Version 8.3)


  1 /*                                                
  2    G.Barrand : glu.h of Mesa-7.8.1 but contain    
  3    We bring also the needed material from gl.h    
  4  */                                               
  5                                                   
  6 #ifndef tools_glutess__glu                        
  7 #define tools_glutess__glu                        
  8                                                   
  9 #include "rename"                                 
 10                                                   
 11 /* ///////////////////////////////////////////    
 12 /* ///////////////////////////////////////////    
 13                                                   
 14 typedef unsigned int  GLUenum;                    
 15 typedef void    GLUvoid;                          
 16 typedef double    GLUdouble;                      
 17                                                   
 18 typedef unsigned char GLUboolean;                 
 19 typedef float   GLUfloat; /* single precision     
 20 typedef double    GLUclampd;  /* double precis    
 21                                                   
 22 /* ///////////////////////////////////////////    
 23 /* ///////////////////////////////////////////    
 24 /* ///////////////////////////////////////////    
 25                                                   
 26 /* TessCallback */                                
 27 #define GLU_TESS_BEGIN_DATA                100    
 28 #define GLU_TESS_VERTEX_DATA               100    
 29 #define GLU_TESS_END_DATA                  100    
 30 #define GLU_TESS_ERROR_DATA                100    
 31 #define GLU_TESS_COMBINE_DATA              100    
 32                                                   
 33 /* TessProperty */                                
 34 #define GLU_TESS_WINDING_RULE              100    
 35 //#define GLU_TESS_TOLERANCE                 1    
 36                                                   
 37 /* TessWinding */                                 
 38 #define GLU_TESS_WINDING_ODD               100    
 39 #define GLU_TESS_WINDING_POSITIVE          100    
 40 #define GLU_TESS_WINDING_NEGATIVE          100    
 41                                                   
 42 /*********************************************    
 43                                                   
 44 // mesa glu has the below for Windows.            
 45 //#define GLUAPIENTRY __stdcall                   
 46 //typedef void (__stdcall* _GLUfuncptr)();        
 47                                                   
 48 #define GLUAPIENTRY                               
 49 typedef void (* _GLUfuncptr)();                   
 50                                                   
 51 #define GLUAPI                                    
 52                                                   
 53 typedef struct GLUtesselator GLUtesselator;       
 54                                                   
 55 typedef GLUtesselator GLUtesselatorObj;           
 56 typedef GLUtesselator GLUtriangulatorObj;         
 57                                                   
 58   /*                                              
 59 GLUAPI GLUtesselator* GLUAPIENTRY gluNewTess (    
 60 GLUAPI void GLUAPIENTRY gluDeleteTess (GLUtess    
 61                                                   
 62 GLUAPI void GLUAPIENTRY gluTessBeginContour (G    
 63 GLUAPI void GLUAPIENTRY gluTessBeginPolygon (G    
 64 GLUAPI void GLUAPIENTRY gluTessCallback (GLUte    
 65 GLUAPI void GLUAPIENTRY gluTessEndContour (GLU    
 66 GLUAPI void GLUAPIENTRY gluTessEndPolygon (GLU    
 67 GLUAPI void GLUAPIENTRY gluTessNormal (GLUtess    
 68 GLUAPI void GLUAPIENTRY gluTessProperty (GLUte    
 69 GLUAPI void GLUAPIENTRY gluTessVertex (GLUtess    
 70   */                                              
 71                                                   
 72 #define GLU_MIN(x,y)  ((x) <= (y) ? (x) : (y))    
 73 #define GLU_MAX(x,y)  ((x) >= (y) ? (x) : (y))    
 74 #define GLU_ABS(x)  ((x) < 0 ? -(x) : (x))        
 75                                                   
 76 /* ///////////////////////////////////////////    
 77 /* ///////////////////////////////////////////    
 78 /* ///////////////////////////////////////////    
 79                                                   
 80 /* Boolean values */                              
 81 #define TOOLS_GLU_FALSE   0x0                     
 82 #define TOOLS_GLU_TRUE    0x1                     
 83                                                   
 84 /* Primitives */                                  
 85 #define GLU_LINE_LOOP       0x0002                
 86 #define GLU_TRIANGLES       0x0004                
 87 #define GLU_TRIANGLE_STRIP      0x0005            
 88 #define GLU_TRIANGLE_FAN      0x0006              
 89                                                   
 90 #define GLU_TESS_MAX_COORD 1.0e150                
 91                                                   
 92 /* ErrorCode */                                   
 93 #define GLU_INVALID_ENUM                   100    
 94 #define GLU_INVALID_VALUE                  100    
 95 #define GLU_OUT_OF_MEMORY                  100    
 96 #define GLU_INCOMPATIBLE_GL_VERSION        100    
 97 #define GLU_INVALID_OPERATION              100    
 98                                                   
 99 /* TessCallback */                                
100 #define GLU_TESS_BEGIN                     100    
101 #define GLU_TESS_VERTEX                    100    
102 #define GLU_TESS_END                       100    
103 #define GLU_TESS_ERROR                     100    
104 #define GLU_TESS_EDGE_FLAG                 100    
105 #define GLU_EDGE_FLAG                      100    
106 #define GLU_TESS_COMBINE                   100    
107 #define GLU_TESS_EDGE_FLAG_DATA            100    
108                                                   
109 /* TessContour */                                 
110 #define GLU_CW                             100    
111 #define GLU_CCW                            100    
112 #define GLU_INTERIOR                       100    
113 #define GLU_EXTERIOR                       100    
114 #define GLU_UNKNOWN                        100    
115                                                   
116 /* TessProperty */                                
117 #define GLU_TESS_BOUNDARY_ONLY             100    
118 #define GLU_TESS_TOLERANCE                 100    
119                                                   
120 /* TessError */                                   
121 #define GLU_TESS_ERROR1                    100    
122 #define GLU_TESS_ERROR2                    100    
123 #define GLU_TESS_ERROR3                    100    
124 #define GLU_TESS_ERROR4                    100    
125 #define GLU_TESS_ERROR5                    100    
126 #define GLU_TESS_ERROR6                    100    
127 #define GLU_TESS_ERROR7                    100    
128 #define GLU_TESS_ERROR8                    100    
129 #define GLU_TESS_MISSING_BEGIN_POLYGON     100    
130 #define GLU_TESS_MISSING_BEGIN_CONTOUR     100    
131 #define GLU_TESS_MISSING_END_POLYGON       100    
132 #define GLU_TESS_MISSING_END_CONTOUR       100    
133 #define GLU_TESS_COORD_TOO_LARGE           100    
134 #define GLU_TESS_NEED_COMBINE_CALLBACK     100    
135                                                   
136 /* TessWinding */                                 
137 #define GLU_TESS_WINDING_NONZERO           100    
138 #define GLU_TESS_WINDING_ABS_GEQ_TWO       100    
139                                                   
140 #endif /* __glu_h__ */