Changeset 2945 for trunk/src/opengl/glu/nurbs
- Timestamp:
- Feb 29, 2000, 2:56:52 PM (26 years ago)
- Location:
- trunk/src/opengl/glu/nurbs
- Files:
-
- 4 edited
-
interface/glinterface.cpp (modified) (4 diffs)
-
interface/makefile (modified) (3 diffs)
-
internals/makefile (modified) (3 diffs)
-
nurbtess/makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glu/nurbs/interface/glinterface.cpp
r2689 r2945 1 /* $Id: glinterface.cpp,v 1. 1 2000-02-09 08:49:01 jeroenExp $ */1 /* $Id: glinterface.cpp,v 1.2 2000-02-29 13:56:48 sandervl Exp $ */ 2 2 /* 3 3 ** License Applicability. Except to the extent portions of this file are … … 33 33 ** compliant with the OpenGL(R) version 1.2.1 Specification. 34 34 ** 35 ** $Date: 2000-02- 09 08:49:01 $ $Revision: 1.1$35 ** $Date: 2000-02-29 13:56:48 $ $Revision: 1.2 $ 36 36 */ 37 37 /* 38 ** $Header: /home/ktk/tmp/odin/2007/netlabs.cvs/odin32/src/opengl/glu/nurbs/interface/glinterface.cpp,v 1. 1 2000-02-09 08:49:01 jeroenExp $38 ** $Header: /home/ktk/tmp/odin/2007/netlabs.cvs/odin32/src/opengl/glu/nurbs/interface/glinterface.cpp,v 1.2 2000-02-29 13:56:48 sandervl Exp $ 39 39 */ 40 40 … … 430 430 } 431 431 432 extern "C" void GLAPI 433 gluNurbsCallback(GLUnurbs *r, GLenum which, GLvoid (*fn)())432 GLUAPI void GLAPIENTRY gluNurbsCallback( GLUnurbsObj *nobj, GLenum which, 433 void (GLCALLBACK *fn)() ) 434 434 { 435 435 switch (which) { … … 446 446 case GLU_NURBS_TEXTURE_COORD_DATA: 447 447 case GLU_NURBS_COLOR_DATA: 448 #ifdef __WIN32OS2__ 449 r->putSurfCallBack(which, (GLvoid (* WIN32API)(...))fn); 450 #else 451 r->putSurfCallBack(which, (GLvoid (*)(...))fn); 452 #endif 448 nobj->putSurfCallBack(which, (GLvoid (*)(...))fn); 453 449 break; 454 450 455 451 case GLU_NURBS_ERROR: 456 #ifdef __WIN32OS2__ 457 r->errorCallback = (void (* WIN32API)( GLenum )) fn; 458 #else 459 r->errorCallback = (void (*)( GLenum )) fn; 460 #endif 452 nobj->errorCallback = (void (*)( GLenum )) fn; 461 453 break; 462 454 default: 463 r->postError(GLU_INVALID_ENUM);455 nobj->postError(GLU_INVALID_ENUM); 464 456 return; 465 457 } -
trunk/src/opengl/glu/nurbs/interface/makefile
r2709 r2945 1 # $Id: makefile,v 1. 2 2000-02-09 23:40:51 birdExp $1 # $Id: makefile,v 1.3 2000-02-29 13:56:49 sandervl Exp $ 2 2 # 3 3 # PD-Win32 API … … 14 14 !include $(PDWIN32_INCLUDE)/pdwin32.mk 15 15 16 CINCLUDE=-I..\.. -I..\internals -I..\nurbtess -I..\..\..\mesa -I$(PDWIN32_INCLUDE) -I..\..\include16 CINCLUDE=-I..\..\..\mesa\GL -I..\.. -I..\internals -I..\nurbtess -I$(PDWIN32_INCLUDE) -I..\..\include -I..\..\..\mesa 17 17 18 18 CFLAGS = $(CFLAGS) $(CINCLUDE) -DNDEBUG … … 28 28 dep: 29 29 $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \ 30 ..\internals\*.h ..\nurbtess\*.h ..\..\..\mesa\ *.h30 ..\internals\*.h ..\nurbtess\*.h ..\..\..\mesa\GL\*.h 31 31 32 32 !ifndef NODEP -
trunk/src/opengl/glu/nurbs/internals/makefile
r2709 r2945 1 # $Id: makefile,v 1. 2 2000-02-09 23:40:51 birdExp $1 # $Id: makefile,v 1.3 2000-02-29 13:56:49 sandervl Exp $ 2 2 3 3 # … … 15 15 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 16 17 CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa -I..\..\include -I$(PDWIN32_INCLUDE)17 CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include -I$(PDWIN32_INCLUDE) 18 18 CDEFS=-DSTANDALONE -DLIBRARYBUILD -DNDEBUG 19 19 … … 37 37 dep: 38 38 $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \ 39 ..\nurbtess\*.h ..\..\..\mesa\ *.h ..\..\include\*.h39 ..\nurbtess\*.h ..\..\..\mesa\GL\*.h ..\..\include\*.h 40 40 41 41 !ifndef NODEP -
trunk/src/opengl/glu/nurbs/nurbtess/makefile
r2709 r2945 1 # $Id: makefile,v 1. 2 2000-02-09 23:40:51 birdExp $1 # $Id: makefile,v 1.3 2000-02-29 13:56:49 sandervl Exp $ 2 2 3 3 # … … 16 16 17 17 18 CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa -I$(PDWIN32_INCLUDE) -I..\..\include18 CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I$(PDWIN32_INCLUDE) -I..\..\include 19 19 20 20 CFLAGS = $(CFLAGS) $(CINCLUDE) -DNDEBUG
Note:
See TracChangeset
for help on using the changeset viewer.
