Re: [Haskell-cafe] Assimp FFI Library

2011-04-12 Thread Joel Burget
r 12, 2011 at 9:14 AM, John Lato wrote: > From: Joel Burget >> Subject: [Haskell-cafe] Assimp FFI Library >> To: haskell-cafe@haskell.org >> Message-ID: >> Content-Type: text/plain; charset="iso-8859-1" > > >> 5. I've reduced a lot of

Re: [Haskell-cafe] Assimp FFI Library

2011-04-12 Thread John Lato
> > From: Joel Burget > Subject: [Haskell-cafe] Assimp FFI Library > To: haskell-cafe@haskell.org > Message-ID: > Content-Type: text/plain; charset="iso-8859-1" > 5. I've reduced a lot of boilerplate in Vec.hs by using the CPP > preprocessor > ex

Re: [Haskell-cafe] Assimp FFI Library

2011-04-12 Thread Henning Thielemann
On Mon, 11 Apr 2011, Joel Burget wrote: I should mention that I'm going to convert all the Storable instances from something like this: >  peek p = do >    w <- (#peek aiQuaternion, w) p >    x <- (#peek aiQuaternion, x) p >    y <- (#peek aiQuaternion, y) p >    z <- (#peek aiQuaternion, z) p

Re: [Haskell-cafe] Assimp FFI Library

2011-04-12 Thread Stephen Tetley
You might want to depend on Conal Elliott's vector-space library rather than implement your own vector space class. Then you don't need the associated datatype which might allow simpler datatypes for colours and vectors. Also Conal's library is quite well used, so it does mean the operator names w

Re: [Haskell-cafe] Assimp FFI Library

2011-04-11 Thread Jason Dagit
On Mon, Apr 11, 2011 at 8:38 PM, Joel Burget wrote: > Hello, > > I've been working on an ffi library for the Assimp asset import library( > http://assimp.sourceforge.net). It should be useful for people doing > graphics in Haskell. I've been working on it so I can import models into a > ray-trace

[Haskell-cafe] Assimp FFI Library

2011-04-11 Thread Joel Burget
Hello, I've been working on an ffi library for the Assimp asset import library( http://assimp.sourceforge.net). It should be useful for people doing graphics in Haskell. I've been working on it so I can import models into a ray-tracer I've been working on. My current progress is here: https://gith