2008/9/25 Achim Schneider <[EMAIL PROTECTED]>:
> "minh thu" <[EMAIL PROTECTED]> 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.

If you're right, it's weird there are things like  loadIdentity, $=,
... and it is
even weirder to not provide loadMatrix (which can be done with
loadIdenity and multMatrix).

Anyway, the bindings are not that much functionnal, even with things
like withMatrix.

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

Reply via email to