Re: [warzone2100-dev] adding a linear algebra library
On 5/19/11, Safety0ff @gmail.com wrote: On 19/05/11 05:41 AM, Per Inge Mathisen wrote: I am, but I think we should use the recently released Eigen 3, which is still not much supported on linux distros. Not sure if that means we should inline it in our own distribution for a while. By the time master is stable for release, Eigen 3 is probably everywhere, and we can drop our own copy of it. - Per That is exactly what I was thinking. Sounds like a plan. ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [warzone2100-dev] adding a linear algebra library
On 19/05/11 05:41 AM, Per Inge Mathisen wrote: I am, but I think we should use the recently released Eigen 3, which is still not much supported on linux distros. Not sure if that means we should inline it in our own distribution for a while. By the time master is stable for release, Eigen 3 is probably everywhere, and we can drop our own copy of it. - Per That is exactly what I was thinking. ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [warzone2100-dev] adding a linear algebra library
Is everyone still on board with this? ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
[warzone2100-dev] adding a linear algebra library
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