Results 1 to 2 of 2

Thread: includes GL*.h

  1. #1
    Junior Member Newbie
    Join Date
    May 2000

    includes GL*.h

    what is the difference among gl.h, glu.h, glx.h, glut.h?
    in my graphics class, we only need to include GL/gl.h (and why we have "GL/"?)
    From Alan.
    From Alan.

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2000

    Re: includes GL*.h

    gl is the core of the opengl functionnality like glTranslate.

    glu.h contains utility functions for opengl, there are not absolutly needed. ex : gluperspective, gluBuildMipmaps

    glaux.h, It use to be someking of glut, but now glut is much more powerfull. glut is a bunch of utility functions that help to manage window. That way you don't need to write win32 functions to create a window when working with win9x or winNT.

    So if don't use any function from glut and any function for glu, you can only insert gl.h since this is the only thing you'll need

    And use gl/, because opengl headers are stored by default in the gl subdirectory of your Visual Studio include path.

Similar Threads

  1. Includes
    By Sidney in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 05-15-2015, 07:39 PM
  2. includes
    By brooks.brian in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 03-26-2006, 06:12 AM
  3. Includes incomplete?
    By in forum OpenGL: Linux
    Replies: 4
    Last Post: 12-12-2003, 04:54 PM
  4. OpenGL 1.3 includes for download
    By marcus256 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-15-2002, 07:53 AM
  5. help with libs and includes
    By Death_Claw in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-19-2001, 03:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean