cvs commit: fptools/libraries/GLUT/Graphics/UI/GLUT Debugging.hs
fptools/libraries/GLUT/examples/Misc
fptools/libraries/GLUT/examples/RedBook
fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GLU
Errors.hs ErrorsInternal.hs Quadrics.hs Tessellation.hs
Sven Panne
panne at glass.cse.ogi.edu
Sat Jan 17 05:28:59 EST 2004
panne 2004/01/17 05:28:59 PST
Modified files:
libraries/GLUT/Graphics/UI/GLUT Debugging.hs
libraries/GLUT/examples/Misc ExtractContours.hs Triangulate.hs
libraries/GLUT/examples/RedBook Tess.hs TessWind.hs
libraries/OpenGL/Graphics/Rendering/OpenGL/GLU Errors.hs
ErrorsInternal.hs
Quadrics.hs
Tessellation.hs
Log:
Made error handling in GLU more consistent: The quadrics/tessellation
APIs were a bit strange from an error handling point of view. They
used Maybe/Either for error reporting, but the rest of OpenGL uses
global state for this (state variable "errors"). Now GLU errors are
handled in the same way as GL errors, simplifying things quite a bit.
Revision Changes Path
1.7 +14 -1 fptools/libraries/GLUT/Graphics/UI/GLUT/Debugging.hs
1.6 +3 -21 fptools/libraries/GLUT/examples/Misc/ExtractContours.hs
1.6 +4 -17 fptools/libraries/GLUT/examples/Misc/Triangulate.hs
1.6 +3 -21 fptools/libraries/GLUT/examples/RedBook/Tess.hs
1.8 +3 -15 fptools/libraries/GLUT/examples/RedBook/TessWind.hs
1.10 +2 -10 fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GLU/Errors.hs
1.6 +53 -1 fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GLU/ErrorsInternal.hs
1.16 +8 -19 fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GLU/Quadrics.hs
1.25 +16 -24 fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GLU/Tessellation.hs
More information about the Cvs-libraries
mailing list