1 /* tube, Copyright (c) 2001 Jamie Zawinski <jwz@jwz.org>
2 * Utility function to create a unit sphere in GL.
4 * Permission to use, copy, modify, distribute, and sell this software and its
5 * documentation for any purpose is hereby granted without fee, provided that
6 * the above copyright notice appear in all copies and that both that
7 * copyright notice and this permission notice appear in supporting
8 * documentation. No representations are made about the suitability of this
9 * software for any purpose. It is provided "as is" without express or
16 /* Creates a diamteter 1 sphere at 0, 0, 0.
17 stacks = number of north/south divisions (latitude)
18 slices = number of clockwise/counterclockwise divisions (longitude)
20 extern void unit_sphere (int stacks, int slices, Bool wire);
22 #endif /* __SPHERE_H__ */