SDL Digest, Vol 49, Issue 88
Message: 2
Message-ID: <4D377D56.6040600 at ghdigital.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowedI’ve had joyous times trying to eradicate the glu library from a game engine once (which out of courtesy I will not name).
The only functions in glu that anyone cares about are the matrix functions gluPerspective, gluLookAt, gluProject (genuinely useful!) and gluUnproject (even more useful!), but these can be solved by a
general purpose matrix library of the user’s choosing.Wandering off-topic a bit, I’d argue the need for an SDL_Matrix library to assist in the creation of the myriad of 3D games that are continually appearing, especially OpenGL3+ games, after all,
DirectX provides a matrix library, why not SDL? ?Note that a matrix library has uses outside of graphics, particularly collision detection and game code.
I’m working on one right now.> Date: Wed, 19 Jan 2011 16:09:58 -0800
From: Forest Hale
To: SDL Development List
Subject: Re: [SDL] Should SDL_opengl.h include glu.h?
Message: 4
Date: Wed, 19 Jan 2011 20:09:34 -0600
From: Mars_999
To: SDL Development List
Subject: Re: [SDL] Should SDL_opengl.h include glu.h?
Message-ID: <4D37995E.5070309 at sio.midco.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowedActually forget the math lib for SDL just use CML, http://cmldev.net/
Go back and look again. CML is a C++ library. While it would likely
work perfectly well for me and you, a lot of Linux developers don’t
like C++ (though now that it isn’t the language of the day, that might
be subsiding). Thus, there’s a need for a C matrix library that’s
easily compatible with SDL.
Besides which, with a good design most of it’s copy-paste.