1 /* tube, Copyright (c) 2001, 2003 Jamie Zawinski <jwz@jwz.org>
2 * Utility functions to create tubes and cones 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 extern void tube (GLfloat x1, GLfloat y1, GLfloat z1,
17 GLfloat x2, GLfloat y2, GLfloat z2,
18 GLfloat diameter, GLfloat cap_size,
19 int faces, Bool smooth, Bool caps_p, Bool wire);
21 extern void cone (GLfloat x1, GLfloat y1, GLfloat z1,
22 GLfloat x2, GLfloat y2, GLfloat z2,
23 GLfloat diameter, GLfloat cap_size,
24 int faces, Bool smooth, Bool cap_p, Bool wire);
26 #endif /* __TUBE_H__ */