I have not started a thread recently, so I though I would get people thinking on what they might like in a new GLU lib:
-
bool gluIsExtensionSupported(const char *); - Check if an extension is supported. May seem dumb but prevents lots of silly miskakes with the extension string I have seen. (eg. Only doing sub-string matches, copying the string to pixed point areas etc) Also a wgl/egl version for platform extensions?
-
bool gluIsVersionSupported(GLenum versionType, GLuint majorVersion, GLuint minorVersion); - Check if the version is supported. versionType can be GLU_OPENGL_VERSION, GLU_GLSL_VERSION etc…
This should also catch some silly mistakes (like with the OpenGL 2.0 fiasco) -
Basic matrix Multiply/Translate/Scale/Transpose that was in OpenGL1.0 fixed function. Would be nice to have a few more math ops in there - vector3/4 and quaternions? Does not have to be fancy - just basic ops that cen be used when you don’t have a math lib?
Also curious of how people think GLU should be distributed with applications (like D3DX) or should be an installed system component?
(I prefer distributed with the app - at least on Windows)