summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-13Add see-also links for gluLoadTextFile and gluUnloadTextFileHEADmasterIan Romanick1-0/+4
2010-02-10Bump version to 0.1-20100210.Ian Romanick1-1/+1
2010-02-10Change internal version define.Ian Romanick1-1/+1
This isn't GLU 3.x. It's GLU for OpenGL 3.x. Change the define token to GLU3_VERSION_#_# to refelct that.
2010-02-10Silence a Visual Studio double-to-float warning.Ian Romanick1-1/+1
2010-02-10Ensure that functions are inlinedIan Romanick1-36/+44
When optimizations are disabled, functions that only exist in header files ended up being undefined. The desired behavior is to force the function to be inlined, and never compile it stand-alone. None of the C or C++ standards give a way to do this, but every compiler seems to have a way.
2010-02-10Include GL/glext.h to get GLchar and other types on all platforms.Ian Romanick1-0/+1
2010-02-10Import glext.h from opengl.orgIan Romanick1-0/+9480
2010-02-10Include windows.h before including GL/gl.h on Windows.Ian Romanick1-0/+5
2010-02-10Use fopen_s on Win32.Ian Romanick1-3/+1
2010-02-10Disable useless double-to-float conversion warnings in Visual Stuido.Ian Romanick2-0/+5
2010-02-10Word around missing M_PI on some platforms.Ian Romanick1-0/+8
2010-02-10"near" and "far" are magic words in Visual StudioIan Romanick1-15/+15
Thanks for adhering to the C standard, guys.
2010-02-10Pre-C99 compilers can't mix code and declarations.Ian Romanick1-2/+2
2010-01-12Add gluArcball structure and support functionsIan Romanick3-1/+214
This adds basic code to implement the class arcball user interface control.
2010-01-12Add missing contructor type and operator overloadsIan Romanick1-0/+41
The vec4(float) constructor and several common operators that are available in GLSL were missing. There are probably still some that are missing, but they can be added later.
2009-12-03Add C++ wrappers for gluDeterminan4_4m and gluInverse4_4mIan Romanick1-0/+56
2009-12-03Bump version to 0.1-20091203.Ian Romanick1-1/+1
2009-12-03Add functions to calculate the determinant and inverse of a 4x4 matrixIan Romanick5-1/+194
2009-12-03Add missing implementations of C++ wrapper functionsIan Romanick1-4/+46
2009-12-03Fix parameter ordering of projection matrix functionsIan Romanick2-11/+11
The GL and (classic) GLU functions that these emulate have bottom before top. Reorder the parameters to these functions to match.
2009-11-14Add C++ matrix functions that return matricesIan Romanick1-0/+147
This is more convenient for C++ because the C++ GLUmat4 has an overloaded multiplication operator. This allows expressions like 'gluRotate(...) * gluTranslate(...)'.
2009-11-14Add function to load text file (for shaders) from diskIan Romanick4-2/+171
2009-10-25Add several functions to calculate projection matrixes.Ian Romanick2-0/+154
This commit adds: gluFrustum6f, gluOrtho4f, and gluOrtho6f. These functions match glFrustum, gluOrtho2d (from classic GLU), and glOrtho.
2009-10-20Add piles of Doxygen documentation for the interfaceIan Romanick3-7/+1889
2009-08-03Fix function names to match OpenGL naming conventionsIan Romanick3-10/+10
Several functions just had a number specifying the parameter count, but they were missing the type specifier.
2009-08-03Merge commit 'anholt/master'Ian Romanick9-7/+221
2009-07-31Add test for gluLookAt4v and fix a bug it revealed.Eric Anholt4-8/+108
2009-07-31Add infrastructure for "make check".Eric Anholt6-1/+114
2009-07-31Add missing string.h include for memcpy.Eric Anholt1-0/+1
2009-07-28Add copyright statementIan Romanick1-0/+23
2009-07-28Pass pointer to result instead of returning a structureIan Romanick3-268/+232
Functions that used to return either GLUvec4 or GLUmat4 have been modified to take a pointer to the location to store the result. Any functions where the result pointer could also be a source pointer are coded to calculate to a temporary and copy the result, if necessary.
2009-07-28Add names of arguments to gluLookAt4v in the header.Eric Anholt1-1/+2
2009-07-28Add gluSub4m_4m that was declared but not implemented.Eric Anholt1-0/+12
2009-07-28Add prototypes that were missing for two glu3_scalar.h functions.Eric Anholt1-0/+2
2009-05-04Add .gitignoreIan Romanick1-0/+18
2009-05-04Numerous small clean-ups and fixes.Ian Romanick4-37/+225
Sorry for the rubbish commit message.
2009-04-17Add glu3.pcIan Romanick3-1/+17
2009-04-17Add missing AM_CFLAGSIan Romanick1-0/+2
2009-04-17Oops.Ian Romanick1-0/+0
2009-04-17Initial commitIan Romanick8-0/+686