Open Reality Reference Guide
 
Loading...
Searching...
No Matches
kaydaraopengl.h
1#ifndef _KAYDARA_OPENGL_H_
2#define _KAYDARA_OPENGL_H_
3/**************************************************************************
4Copyright (c) 1994 - 2009 Autodesk, Inc. and/or its licensors.
5All Rights Reserved.
6
7The coded instructions, statements, computer programs, and/or related
8material (collectively the "Data") in these files contain unpublished
9information proprietary to Autodesk, Inc. and/or its licensors, which is
10protected by Canada and United States of America federal copyright law
11and by international treaties.
12
13The Data may not be disclosed or distributed to third parties, in whole
14or in part, without the prior written consent of Autodesk, Inc.
15("Autodesk").
16
17THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24FREE.
25
26IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
36
37**************************************************************************/
38#if defined(_WIN32)
39// #include <windows.h> // must include before this include if needed
40// Now redefining those if not already defined
41 #ifndef WINGDIAPI
42 #define CALLBACK __stdcall
43 #define WINAPI __stdcall
44 #define DECLSPEC_IMPORT __declspec(dllimport)
45 #define WINGDIAPI DECLSPEC_IMPORT
46 #define APIENTRY WINAPI
47 #endif
48 #ifndef _WCHAR_T_DEFINED
49 typedef unsigned short wchar_t;
50 #define _WCHAR_T_DEFINED
51 #endif
52#else
53 #ifndef CALLBACK
54 #define CALLBACK
55 #endif
56#endif
57
58#include <GL/gl.h>
59#include <GL/glu.h>
60
61#if defined(_WIN32)
62 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
63 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
64#endif
65
66#endif /* _KAYDARA_OPENGL_H_ */