Hi
What's the best, complex math library in c++? (I'd like to use it in graphics engine)
EDIT: I should precise it a bit: it should have all 3d math, like planes, spheres, points, AABB, etc. and of course matrix, vector, quaternion support.
Hi
What's the best, complex math library in c++? (I'd like to use it in graphics engine)
EDIT: I should precise it a bit: it should have all 3d math, like planes, spheres, points, AABB, etc. and of course matrix, vector, quaternion support.
It dependes on What you are going to develop . as per my knowledge these are good libs .
Geometric Tools (previously known as WildMagic)
OxMath 2D/3D Math Library 2.1
MATHLIB3D
Configurable Math Library (CML)
glmath
Do you mean best as in speed? If you are writing for Windows, and you are talking about vector math, matrix math, and the like, I have not run across anything faster than the Math functions in DirectX/XNA. (D3DX)
DirectX does not offer complex number support; it deals with floats, but I don't think people use complex numbers in graphics engines very often. It would be easy enough to implement if you had to have it.
Did you try the Boost Library from http://www.boost.org/ ?
It won't give the best performance, but it is pretty standard and cross platform.