Vec is Good

Last night I checked out Scott E. Dillard’s Vec library. It’s a good, fast, pure implementation of the basic matrix operations applicable to 3D graphics. Switching to Vec has shaved off quite a bit of time from one of my demo apps and relieved me of the need to maintain my own matrix manipulation code, which was causing me repeated headaches.

It’s very heavy with MPTCs, fundeps, and type families, which will cause ghc to render some pretty inane error messages, but if you’re already accustomed to this then it’s actually very straightforward to use.

  • sedillard

    May 6th, 2009

    Thanks. Feel free to send me bugs / feature requests. There’s lots of stuff that could be added, but this is just a side-project for me so features get added lazily. Stuff like OpenGL interop, quaternions, more complete instances for PackedVec/unboxed arrays, etc.

  • No trackbacks yet

Leave a Comment

* are Required fields