Boost Users :
Subject: Re: [Boost-users] POD 3d vectors
From: tom fogal (tfogal_at_[hidden])
Date: 2009-05-29 18:49:04
gtsml owevwr <gtsml.owevwr_at_[hidden]> writes:
> I need fast low dimensional vector (2, 3 and 4 dimension let say).
> Ideally, low dimension vector are better as POD, without any pointer
> indirection for instance.
> And off course, could be great to have POD small matrices as well...
> I know this request is probably over specialized but maybe I'm
> missing something already there
*shrug*, I don't know of anything.
I think every vis and graphics project ends up creating their own
vector class, which is kind of silly when you think about it. Such is
FWIW, one of the projects I work on uses these classes:
It's MIT licensed so I imagine you wouldn't have trouble using it.
There's currently a known buglet w/ matrices, but we can't find a
compiler on Linux / Mac / Windows which exhibits the bug.. and I'll fix
Still, you probably want to search around a bit more first. Without
checking, I'd bet all of CrystalSpace, Ogre, VTK, Irrlicht, and <insert
random google result for "open source 3d engine" here> include their
own classes for vectors and matrices.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net