As far, as I know, library “glut.h” isn’t working on C++ Builder because it is calling “Unresolved External” error on each function from this library (I have a “glut32.lib” on system folder).
But can I link up a “glaux.h” library? I have it, but I don’t have a “glaux.lib”. And where can I find a source code of Glaux module?
I need it, because I think, that working with Glaux module can be more simple. Using glu.h, to draw a sphere, we need this code:
GLUquadricObj *quadObj; quadObj = gluNewQuadric(); gluQuadricDrawStyle(quadObj, GLU_FILL); glMaterialfv(GL_FRONT_AND_BACK,GL_SPECULAR,mas1); glColor3f(1,0,0); gluSphere(quadObj, 20,10,10);
Using glaux.h we need only this: