[cgkit-commits] cgkit2/supportlib/src polyhedrongeom.cpp,1.11,1.12
Brought to you by:
mbaas
From: Tobias <cg...@us...> - 2005-05-18 20:52:52
|
Update of /cvsroot/cgkit/cgkit2/supportlib/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31497/supportlib/src Modified Files: polyhedrongeom.cpp Log Message: OSX changes Index: polyhedrongeom.cpp =================================================================== RCS file: /cvsroot/cgkit/cgkit2/supportlib/src/polyhedrongeom.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** polyhedrongeom.cpp 9 May 2005 14:39:10 -0000 1.11 --- polyhedrongeom.cpp 18 May 2005 20:52:36 -0000 1.12 *************** *** 384,403 **** // Tesselation callbacks... ! typedef void (CALLBACK *TessCallback)(); // Callbacks for triangulating... // (the callbacks receive a pointer to a PolyTriangulation object on // which they call the appropriate callback method) ! void CALLBACK onTessBegin_triangulation(GLenum type, PolyTriangulation* polytri) { polytri->onTessBegin(type); } ! void CALLBACK onTessEnd_triangulation(PolyTriangulation* polytri) { polytri->onTessEnd(); } ! void CALLBACK onTessVertex_triangulation(int* data, PolyTriangulation* polytri) { polytri->onTessVertex(data); --- 384,403 ---- // Tesselation callbacks... ! typedef GLvoid (CALLBACK *TessCallback)(...); // Callbacks for triangulating... // (the callbacks receive a pointer to a PolyTriangulation object on // which they call the appropriate callback method) ! GLvoid CALLBACK onTessBegin_triangulation(GLenum type, PolyTriangulation* polytri) { polytri->onTessBegin(type); } ! GLvoid CALLBACK onTessEnd_triangulation(PolyTriangulation* polytri) { polytri->onTessEnd(); } ! GLvoid CALLBACK onTessVertex_triangulation(int* data, PolyTriangulation* polytri) { polytri->onTessVertex(data); *************** *** 407,421 **** int tess_data_flag = 0; ! void CALLBACK onTessBegin(GLenum type) { glBegin(type); } ! void CALLBACK onTessEnd() { glEnd(); } ! void CALLBACK onTessVertex(GLdouble* data) { GLdouble* p = data+3; --- 407,421 ---- int tess_data_flag = 0; ! GLvoid CALLBACK onTessBegin(GLenum type) { glBegin(type); } ! GLvoid CALLBACK onTessEnd() { glEnd(); } ! GLvoid CALLBACK onTessVertex(GLdouble* data) { GLdouble* p = data+3; |