multMatrix

Bas van Dijk <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
Hi,

I would like to know how to multiply the current matrix with, for example, the 
following translation matrix in RowMajor order:

[1,0,0,x
,0,1,0,y
,0,0,1,z
,0,0,0,1]

I know I must use:

multMatrix :: (Matrix m, MatrixComponent c) => m c -> IO ()

but I don't know how to call it. Can anybody help me?


Greetings,

Bas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.