21 glClearColor((GLclampf)v[0], (GLclampf)v[1], (GLclampf)v[2], (GLclampf)v[3]);
32 glOrtho((GLdouble)left, (GLdouble)right, (GLdouble)bottom, (GLdouble)top,
33 (GLdouble)near, (GLdouble)far);
39 glOrtho((GLdouble)v[0], (GLdouble)v[1], (GLdouble)v[2], (GLdouble)v[3],
40 (GLdouble)v[4], (GLdouble)v[5]);
46 glRotatef((GLfloat)v[0], (GLfloat)v[1], (GLfloat)v[2], (GLfloat)v[3]);
52 glTranslatef((GLfloat)v[0], (GLfloat)v[1], (GLfloat)v[2]);
67 glClipPlane((GLenum)pl, d_eqn);
73 gluPerspective((GLdouble)v[0], (GLdouble)v[1],
74 (GLdouble)v[2], (GLdouble)v[3]);
80 gluLookAt((GLdouble)v[0], (GLdouble)v[1], (GLdouble)v[2],
81 (GLdouble)v[3], (GLdouble)v[4], (GLdouble)v[5],
82 (GLdouble)v[6], (GLdouble)v[7], (GLdouble)v[8]);
92 if ( fn2 != 0 ) addr = addr | (fn2 & 0x0000ffff);
93 gluTessCallback((GLUtriangulatorObj *)tobj, (GLenum)which,
94 (
void (*)()) ( addr ));
100 glClearAccum((GLfloat)v[0], (GLfloat)v[1], (GLfloat)v[2], (GLfloat)v[3]);
107 glAccum((GLenum)op, (GLfloat)v[0]);
114 gluDisk((GLUquadricObj *)qobj, (GLdouble)v[0], (GLdouble)v[1],
115 (GLint)v[2], (GLint)v[3]);
122 gluPartialDisk((GLUquadricObj *)qobj, (GLdouble)v[0], (GLdouble)v[1],
123 (GLint)v[2], (GLint)v[3], (GLdouble)v[4], (GLdouble)v[5]);
129 glScalef((GLfloat)v[0], (GLfloat)v[1], (GLfloat)v[2]);
137 gluNurbsProperty((GLUnurbsObj *)nobj, (GLenum)property, (GLfloat)*value);
143 glMapGrid2f((GLint)v[0], (GLfloat)v[1], (GLfloat)v[2],
144 (GLint)v[3], (GLfloat)v[4], (GLfloat)v[5]);
153 glBitmap((GLsizei)w, (GLsizei)h,
154 (GLfloat)v[0], (GLfloat)v[1], (GLfloat)v[2], (GLfloat)v[3],
163 glMap1f((GLenum)target, (GLfloat)args[0], (GLfloat)args[1],
164 (GLint)args[2], (GLint)args[3], (GLfloat *)points);
172 glMap2f((GLenum)target,
173 (GLfloat)args[0], (GLfloat)args[1], (GLint)args[2], (GLint)args[3],
174 (GLfloat)args[4], (GLfloat)args[5], (GLint)args[6], (GLint)args[7],
181 glFrustum((GLdouble)v[0], (GLdouble)v[1], (GLdouble)v[2],
182 (GLdouble)v[3], (GLdouble)v[4], (GLdouble)v[5]);
188 gluOrtho2D((GLdouble)v[0], (GLdouble)v[1], (GLdouble)v[2], (GLdouble)v[3]);
194 glPointSize((GLfloat)v[0]);
200 glClearIndex((GLfloat)v[0]);
213 if (!(i = (
void *) malloc(len))) {
214 perror(
"alloctessinfo: malloc");
219 printf(
"alloctessinfo: received vert: %05.3f %05.3f %05.3f tcoord[%d]: %05.3f %05.3f ncoord[%d]: %05.3f %05.3f %05.3f\n",
220 vert[0], vert[1], vert[2],
221 tp, tcoord[0], tcoord[1],
222 np, ncoord[0], ncoord[1], ncoord[2]);
227 i->
vert[0] = (GLdouble)vert[0];
228 i->
vert[1] = (GLdouble)vert[1];
229 i->
vert[2] = (GLdouble)vert[2];
232 i->
tcoord[0] = (GLdouble)tcoord[0];
233 i->
tcoord[1] = (GLdouble)tcoord[1];
237 i->
ncoord[0] = (GLdouble)ncoord[0];
238 i->
ncoord[1] = (GLdouble)ncoord[1];
239 i->
ncoord[2] = (GLdouble)ncoord[2];
256 glDepthRange((GLclampd)clamp[0], (GLclampd)clamp[1]);
263 glPolygonOffsetEXT((GLfloat)
v[0], (GLfloat)v[1]);
267 #if (WORD_SIZE == 64) 268 void glPointSized (
double d) {
269 glPointSize((
float)d);
271 void glLineWidthd (
double d) {
272 glLineWidth((
float)d);
274 void gluNurbsPropertyd(GLUnurbs* nurb, GLenum property,
double value) {
275 gluNurbsProperty(nurb, property, (GLfloat)value);
void glPolygonOffsetEXTfv()
void glOrtho6f(eusfloat_t left, eusfloat_t right, eusfloat_t bottom, eusfloat_t top, eusfloat_t near, eusfloat_t far)
void glBitmapfv(eusinteger_t w, eusinteger_t h, v, eusinteger_t b)
void gluNurbsPropertyfv(eusinteger_t nobj, eusinteger_t property, eusfloat_t *value)
void glClipPlanef(eusinteger_t pl, eqn)
void gluPartialDiskfv(eusinteger_t *qobj, v)
void tess_vertex_cb(eusinteger_t i)
void gluDiskfv(eusinteger_t qobj, v)
void glAccumfv(eusinteger_t op, v)
void glMap2fv(eusinteger_t target, args, eusinteger_t points)
void glMap1fv(eusinteger_t target, args, eusinteger_t points)
eusinteger_t alloctessinfo(vert, eusinteger_t tp, tcoord, eusinteger_t np, ncoord)
void glDepthRangefv(clamp)
void gluTessCallbackl(eusinteger_t *tobj, eusinteger_t which, eusinteger_t fn, eusinteger_t fn2)