http://glm.g-truc.net/index.html
OpenGL Mathematics (GLM) is a mathematics library for 3D applications based on OpenGL Shading Language(GLSL). The project's goal is to provide to 3D programmer the same tools when he develops under GPU and CPU. This project wasn't limited by GLSL tools, an extension system based on GLSL extensions development conventions allows to extend GLSL capabilities. GLM is release under MIT license and available for all version of GCC from version 3.4 and Visual Studio from version 7.1 (2003).
------------------
I've downloaded the API a while ago. Ran a sample test and it went OK.
I'll do more tests later and if it looks good it might replace my matrix lib.
So far, I love the syntax that it's quite fun to use. It looks like this API will help me in my procedural building as well.
OpenGL Mathematics Library
Have you tried The GNU/Scientific Library ?
http://www.gnu.org/software/gsl/
I use them for Uni things, I haven't tried them for game stuff as yet but it has all of the matrix functions that you would need.
http://www.gnu.org/software/gsl/
I use them for Uni things, I haven't tried them for game stuff as yet but it has all of the matrix functions that you would need.
Why? Have you even looked at the MIT license? You can't get much less restrictive than that...Dorth wrote:Contrarily to dlangdev's proposed lib, it is infected with gnu license, so no thanks.
http://www.opensource.org/licenses/mit-license.php
Irrlicht Demos: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=45781
Sure that is pretty good but, I haven't found the GNU licence restrictive for my needs anyway. Seems to me that the GSL libs have quite a lot more in them ie interpolation functions, non linear solvers etc etc the list is large.
If they are useful why not use them. I am not trying to start a debate, I am genuinely curious.
If they are useful why not use them. I am not trying to start a debate, I am genuinely curious.
The mit only means you must give access to the _original_ software in copy left, contrarily to gnu which infects whatever contains it. For that matter, if you link the lib as a dll, there is no problem if you also give the lib source with it, only when you link it does it become somewhat murky whether or not you need to include a way to recompile as that is NOT specified in the license.
