Hi all, I would like to propse to add a linear algebra library as a dependency to Warzone. One library I have in mind (and have had good experience with in the past) is Eigen [1].
Having a linear algebra library will eventually be required to be able to reimplement OpenGL's matrix math (which is ditched from the OpenGL 3.0 and ES 2.0 APIs). Additionally it will allow the easy and proper implementation of piematrix expressed in terms of this library's functionality. As for Eigen, it is a C++ header-only (completely template based) library. It's predefined vector types have the same names as our self-defined vector types and have the same memory layout on most systems (compiler-dependent of-course), this would allow (by means of type-punning), using those types in C++ with all added functionality, while retaining what we have in C. [1] http://eigen.tuxfamily.org/ -- Giel -- "When all you have is a hammer, everything starts to look like a nail." -- Abraham Maslow
signature.asc
Description: Digital signature
_______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev