-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rafael Cunha de Almeida wrote:
| Hello,
|
| I am writing a OpenGL program in haskell, it can be found in:
| http://github.com/aflag/galo/tree/master
| But I hope this e-mail will be self-contained :).
|
| My main function goes like this:
| (
Rafael Cunha de Almeida writes:
> My main function goes like this:
> (...)
> rotX <- newIORef (0.0::GLfloat)
> rotY <- newIORef (0.0::GLfloat)
> pos <- newIORef (0.0::GLfloat, 0.0, 0.0)
>
> displayCallback $= display (map f range) rotX rotY pos
>
> keyboardMouseCallback $=
Hello,
I am writing a OpenGL program in haskell, it can be found in:
http://github.com/aflag/galo/tree/master
But I hope this e-mail will be self-contained :).
My main function goes like this:
(...)
rotX <- newIORef (0.0::GLfloat)
rotY <- newIORef (0.0::GLfloat)
pos <- new