[Haskell-cafe] Re: Where is OpenGL loadMatrix ?

Achim Schneider barsoap at web.de
Thu Sep 25 09:59:35 EDT 2008


"minh thu" <noteed at gmail.com> wrote:

> I can't find the loadMatrix function in
> http://hackage.haskell.org/packages/archive/OpenGL/latest/doc/html/Graphics-Rendering-OpenGL-GL-CoordTrans.html
> 
> Should I use loadIdentity then multMatrix instead ?
> 
You're supposed to use withMatrix and regard OpenGL not as an
imperative language, but as a markup language coincidentally using
"do" to specify (flattened) lists. I even read about some library
managing display lists transparently for you, but I can't recall where.

-- 
(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved. Copying, hiring, renting,
performance and/or broadcasting of this signature prohibited.



More information about the Haskell-Cafe mailing list