From: Luke H. <lh...@us...> - 2002-11-30 03:32:54
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common/callbacks In directory sc8-pr-cvs1:/tmp/cvs-serv15269 Modified Files: README.txt Log Message: Index: README.txt CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/callbacks/README.txt =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/callbacks/README.txt,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- README.txt 30 Nov 2002 03:28:30 -0000 1.8 +++ README.txt 30 Nov 2002 03:32:50 -0000 1.9 @@ -1,6 +1,6 @@ This is just the start of my callback implementation. -Unfortunatly, you cant pass a non static method as an object pointer... +Unfortunatly, you cant pass a non static method as a function pointer... So we can only have callbacks for a single GLU object. However, according to the OpenGL redbook... this should not be an issue. For example the redbook states that, a single tess object should be used for an @@ -16,7 +16,7 @@ Of course callbacks for other object types should be easy to do using this framework. -Note quite as elegent as I wanted, but it works. +Note as elegent as I wanted, but it works. You would write a callback like this: |