I’m looking for POD low dimension vectors (2,3 and 4D let say) with all the necessary arithmetic niceties (operator +, – and so on). POD low dimension matrices would be great as well.
boost::ublas vectors are not POD, there’s a pointer indirection somewhere (vector are resizeable).
Can I find that anywhere in boost? Using boost::array along with boost.operator lib is an options but maybe I’m missing something easier elsewhere?
Apart boost, does anybody know any good library around?
PS: POD <=> plain old data
EDIT:
Otherwise, here are some other links I gathered from another thread:
There is a nice Vector library for 3d graphics in the prophecy SDK:
Check out http://www.twilight3d.com/downloads.html