C++ 3D Math Library
Solution 1
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
Configurable Math Library (CML)
Solution 2
If you're working with OpenGL you could try the OpenGL Mathematics (glm) library. It implements all of it's classes in terms of GLSL so it's easy to use between client side and server side.
Solution 3
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.
Solution 4
CGAL - The library offers data structures and algorithms like triangulations, Voronoi diagrams, Boolean operations on polygons and polyhedra, point set processing, arrangements of curves, surface and volume mesh generation, geometry processing, alpha shapes, convex hull algorithms, shape analysis, AABB and KD trees...
Comments
-
chris almost 2 years
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.