cvs commit: fptools/libraries/GLUT/examples/RedBook Alpha.hs
BlendEqn.hs
fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GL PerFragment.hs
Sven Panne
panne at haskell.org
Fri Nov 5 02:43:06 EST 2004
panne 2004/11/04 23:43:06 PST
Modified files:
libraries/GLUT/examples/RedBook Alpha.hs BlendEqn.hs
libraries/OpenGL/Graphics/Rendering/OpenGL/GL PerFragment.hs
Log:
If we break the API a little bit (see previous commit), let's at least do it
right:
* Disentangle stencil test and blending operations by adding an explicit
capability to enable/disable these features. Using a Maybe type with some
function for enabling/disabling is too arbitrary in these cases. Fogging is
handled similarly, BTW, so this improves consistency. In addition, the API is
now even closer to the well-known C binding.
* Combined stencilTestTwoSide and activeStencilFace, that's actually a good
place to use Maybe.
* Renamed BlendEquationMode to BlendEquation for better consistency.
Revision Changes Path
1.3 +2 -2 fptools/libraries/GLUT/examples/RedBook/Alpha.hs
1.3 +2 -2 fptools/libraries/GLUT/examples/RedBook/BlendEqn.hs
1.23 +30 -25 fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GL/PerFragment.hs
More information about the Cvs-libraries
mailing list