[Haskell-cafe] Fwd: frag game-compiling error
Don Stewart
dons at galois.com
Wed Sep 30 11:25:29 EDT 2009
gwern0:
> On Mon, Sep 28, 2009 at 11:36 AM, selahaddin
> <selahattin.gerdan at gmail.com> wrote:
> >
> >
> >
> > Lyndon Maydwell wrote:
> >>
> >>> src/Quaternion.hs:22:27
> >>
> >> This would probably be the place to start.
> >>
> >
> > Ok,I managed to get past the error like this:
> >
> > newMatrix ColumnMajor [realToFrac r00,realToFrac r01,realToFrac
> > r02,realToFrac r03,
> > realToFrac r10,realToFrac r11,realToFrac
> > r12,realToFrac r13,
> > realToFrac r20,realToFrac r21,realToFrac
> > r22,realToFrac r23,
> > realToFrac r30,realToFrac r31,realToFrac
> > r32,realToFrac r33]
> >
> > So Quaternion.hs compiled fine,but now it gives error messages in another
> > file.
> > As far as I understand, this games code is incompatible with the new version
> > of haskell opengl libraries.
> > Am I right?
>
> A style note: it looks to me like it'd be better to write 'newMatrix
> columnMajor $ map realToFrac $ [r1...'
>
> Did that get Frag compiling & working? If it did, perhaps you could
> send in a patch to dons, who is the listed maintainer of frag.
Please send patches!
More information about the Haskell-Cafe
mailing list