home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / GLUT-3.7 / LIB / GLSMAP / smap_texdim.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-12  |  439 b   |  22 lines

  1.  
  2. /* Copyright (c) Mark J. Kilgard, 1998.  */
  3.  
  4. /* This program is freely distributable without licensing fees
  5.    and is provided without guarantee or warrantee expressed or
  6.    implied. This program is -not- in the public domain. */
  7.  
  8. #include "glsmapint.h"
  9.  
  10. void
  11. smapSetSphereMapTexDim(SphereMap *smap, GLsizei texdim)
  12. {
  13.     smap->smapTexDim = texdim;
  14. }
  15.  
  16. void
  17. smapSetViewTexDim(SphereMap *smap, GLsizei texdim)
  18. {
  19.     smap->viewTexDim = texdim;
  20. }
  21.  
  22.