[HOpenGL] API names [was: ghc-6.0.1 and OpenGL enabled]

Wolfgang Thaller wolfgang.thaller at gmx.net
Thu Oct 9 18:30:36 EDT 2003


> The first two sound right to me, the third is actually a "withFoo", and
> the last three should be named in a consistent way. Combining your 
> proposals
> I suggest:
>
>    glBegin/glEnd                          renderPrimitive
>    glNewList/glEndList                    defineList
>    glPushName/glPopName                   withName
>    glPushMatrix/glPopMatrix               preservingMatrix
>    glPushAttrib/glPopAttrib               preservingAttrib
>    glPushClientAttrib/glPopClientAttrib   preservingClientAttrib
>
> Does this sound OK, especially for the native speakers on this list?

Sounds right to me [ aber ich bin kein Native Speaker ].

BTW, will there be a place in the docs where people coming from C could 
look up the equivalences? Perhaps a simple text file where I can just 
grep for a C name and get the corresponding Haskell name.

Cheers,

Wolfgang



More information about the HOpenGL mailing list