Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

  1. #ifndef __gluint_h__
  2. #define __gluint_h__
  3. /*
  4. ** Copyright 1992, Silicon Graphics, Inc.
  5. ** All Rights Reserved.
  6. **
  7. ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  8. ** the contents of this file may not be disclosed to third parties, copied or
  9. ** duplicated in any form, in whole or in part, without the prior written
  10. ** permission of Silicon Graphics, Inc.
  11. **
  12. ** RESTRICTED RIGHTS LEGEND:
  13. ** Use, duplication or disclosure by the Government is subject to restrictions
  14. ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  15. ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  16. ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  17. ** rights reserved under the Copyright Laws of the United States.
  18. **
  19. ** $Revision: 1.1 $
  20. ** $Date: 1995/06/08 22:28:21 $
  21. */
  22. #include <glos.h>
  23. extern const char *__glNURBSErrorString( int errno );
  24. extern const char *__glTessErrorString( int errno );
  25. #ifdef NT
  26. extern LPCWSTR __glNURBSErrorStringW( int errno );
  27. extern LPCWSTR __glTessErrorStringW( int errno );
  28. #endif
  29. #ifdef _EXTENSIONS_
  30. #define COS cosf
  31. #define SIN sinf
  32. #define SQRT sqrtf
  33. #else
  34. #define COS cos
  35. #define SIN sin
  36. #define SQRT sqrt
  37. #endif
  38. #endif /* __gluint_h__ */