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.html

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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to