home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist6.3 / gl_dev.idb / usr / include / gl / sphere.h.z / sphere.h
Encoding:
C/C++ Source or Header  |  1996-12-06  |  2.1 KB  |  69 lines

  1. #ifndef __GL_SPHERE_H__
  2. #define __GL_SPHERE_H__
  3. /**************************************************************************
  4.  *                                      *
  5.  *          Copyright (C) 1984, Silicon Graphics, Inc.          *
  6.  *                                      *
  7.  *  These coded instructions, statements, and computer programs  contain  *
  8.  *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
  9.  *  are protected by Federal copyright law.  They  may  not be disclosed  *
  10.  *  to  third  parties  or copied or duplicated in any form, in whole or  *
  11.  *  in part, without the prior written consent of Silicon Graphics, Inc.  *
  12.  *                                      *
  13.  **************************************************************************/
  14.  
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. #include <gl/gl.h>
  19. /**************************************************************************
  20.  *                                      *
  21.  *          Copyright (C) 1990, Silicon Graphics, Inc.          *
  22.  *                                      *
  23.  *  These coded instructions, statements, and computer programs  contain  *
  24.  *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
  25.  *  are protected by Federal copyright law.  They  may  not be disclosed  *
  26.  *  to  third  parties  or copied or duplicated in any form, in whole or  *
  27.  *  in part, without the prior written consent of Silicon Graphics, Inc.  *
  28.  *                                      *
  29.  **************************************************************************/
  30.  
  31.  
  32. /* sphere modes */
  33. #define SPH_TESS        0
  34. #define SPH_DEPTH        1
  35. #define SPH_PRIM        2
  36. #define SPH_HEMI        3
  37. #define SPH_ORIENT        4
  38.  
  39. /* sphere types */
  40. #define SPH_OCT            0
  41. #define SPH_ICOS        1
  42. #define SPH_BARY        2
  43. #define SPH_CUBE        3
  44. #define SPH_BILIN        4
  45.  
  46. /* tesselation depth limit */
  47. #define SPH_MAXDEPTH        30
  48.  
  49. /* sphere drawing types */
  50. #define SPH_MESH        0
  51. #define SPH_POLY        1
  52. #define SPH_LINE        2
  53. #define SPH_POINT        3
  54. #define SPH_BITMAP        4
  55.  
  56. extern void     sphbgnbitmap( void );
  57. extern void     sphcolor( float[4] );
  58. extern long     sphdraw( float[4] );
  59. extern void     sphendbitmap( void );
  60. extern void     sphfree( void );
  61. extern long     sphgnpolys( void );
  62. extern long     sphmode( long, long );
  63. extern void     sphobj( Object );
  64. extern void     sphrotmatrix( Matrix );
  65. #ifdef __cplusplus
  66. }
  67. #endif
  68. #endif /* !__GL_SPHERE_H__ */
  69.