[HOpenGL] multMatrix

Bas van Dijk basvandijk at home.nl
Sat Oct 15 04:24:22 EDT 2005


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


More information about the HOpenGL mailing list