1 @c This is part of the Figl Reference Manual.
2 @c Copyright (C) 2013 Andy Wingo and others
3 @c See the file figl.texi for copying conditions.
9 * GLU API:: The high-level interface to GLU.
10 * Low-Level GLU:: Primitive interface to ``glu'' functionality.
16 Import the GLU module to have access to these procedures:
19 (use-modules (figl glu))
22 The GLU specification is available at
23 @uref{http://www.opengl.org/registry/doc/glu1.3.pdf}.
28 * Matrix Manipulation::
29 * Polygon Tesselation::
36 @subsection Initialization
39 @subsection Mipmapping
41 @node Matrix Manipulation
42 @subsection Matrix Manipulation
44 @defun glu-perspective fov-y aspect z-near z-far
45 Set up a perspective projection matrix.
47 @var{fov-y} is the field of view angle, in degrees, in the Y
48 direction. @var{aspect} is the ratio of width to height.
49 @var{z-near} and @var{z-far} are the distances from the viewer to the
50 near and far clipping planes, respectively.
52 The resulting matrix is multiplied against the current matrix.
55 @node Polygon Tesselation
56 @subsection Polygon Tesselation
68 @section Low-Level GLU
69 @include low-level-glu.texi