File indexing completed on 2024-04-21 14:46:25
0001 /* 0002 ** Author: Eric Veach, July 1994. 0003 ** 0004 */ 0005 0006 #ifndef __render_h_ 0007 #define __render_h_ 0008 0009 #include "mesh.h" 0010 0011 /* __gl_renderMesh( tess, mesh ) takes a mesh and breaks it into triangle 0012 * fans, strips, and separate triangles. A substantial effort is made 0013 * to use as few rendering primitives as possible (ie. to make the fans 0014 * and strips as large as possible). 0015 * 0016 * The rendering output is provided as callbacks (see the api). 0017 */ 0018 void __gl_renderMesh(GLUtesselator *tess, GLUmesh *mesh); 0019 void __gl_renderBoundary(GLUtesselator *tess, GLUmesh *mesh); 0020 0021 GLboolean __gl_renderCache(GLUtesselator *tess); 0022 0023 #endif