This is a quick and dirty port of the SGI SI GLU for MiniGL which I
hacked together in a couple of hours. It has not been extensively
tested, but so far it seems to work. The library is compiled for
clib2.
The library, unfortunately, conflicts with the rudimentary GLU support
in minigl.h and I suggest editing mgl/minigl.h to conditionally include
the GLU support. E.g. (in mgl/minigl.h):
-----8<-----8<----------
#ifndef NO_MGL_GLU
... The MiniGL glu functions are here ...
#endif
-----8<-----8<----------
And then compile with "-DMINIGL -DNO_MGL_GLU" and link with "-lGL -lGLU"
Well, that's about it.
| |