On Fri, 1 Aug 2003 22:35:54 +0200, "Alex Hirner" <email@example.com>
>I know, this is not the perfect newsgroup to ask for, but worth a try :)
>I'm in need of a math library which should have those features in descending
>(from important to less imporant):
>* small! (only vecs 2d and 3d, matrices quaternions and stuff to manipulate
>and create those)
>* left-handed (the Direct3D-way)
>* bug free and completed (no alpha or such)
>* OO, (speek: syntactic shugar)
>* a syntax like this:
> vector3 v(1.0, 2.0, 3.0);
> matrix4 m;
> m.make_rotation(blah, foo, bar);
> vector3 v2 = v * m;
> // and so on and so on
>I could do it own my own, but with my maths ingenuity it would take days and
>megabytes of tutorials.
>thx a lot, and sorry for bothering (i did not found any suitable one on sf,
>freshmeat, google, programmersheaven).
OT obviously, but since I happen to have a url that may be a good
As far as a quat library, one that is in decent OOP form, you can try
included is a template class header file as well that has necessary
quaternion related functions needed for object rotations.
the cubedemo is opengl but does include functionally correct use of
quaternion as it can apply to rotating an object in 4d hyperspace..
is it bug free, probably not, but i got it to work in vc++ and g++
D3D, nope.. OpenGL ;-)
as far as syntax, you will need to fully understand what this mini lib
actually does before you can use it.