The
OpenGL Utility Toolkit (
GLUT) is a
library of utilities for
OpenGL programs, which primarily perform system-level
I/O with the host
operating system. Functions performed include window definition, window control, and monitoring of
keyboard and
mouse input. Routines for drawing a number of geometric primitives (both in solid and wireframe mode) are also provided, including
cubes,
spheres and the
Utah teapot. GLUT also has some limited support for creating pop-up menus.