
14 Jul
2007
14 Jul
'07
6:07 p.m.
Can someone post either a simple Hopengl example or a link to one please? (Something that displays a triangle or two, preferably rotatign slowly, ideally rotating when you move the mouse).
in addition to HOpenGL, check out the GLUT binding as well (same mailing list): http://darcs.haskell.org/packages/GLUT/ http://www.haskell.org/ghc/docs/latest/html/libraries/GLUT/Graphics-UI-GLUT.... in particular, Sven made sure to fill the examples directory (just below GLUT/) with lots of examples, including those from the red book (comparing the original examples for an opengl feature with the haskell version is a good way to familiarize oneself with the few differences and many commonalities). claus