Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
vtlib.h
1 //
2 // Main header for VT library, for all platforms
3 //
4 // Copyright (c) 2001-2011 Virtual Terrain Project
5 // Free for all uses, see license.txt for details.
6 //
7 
8 // frequently used standard headers
9 #include <stdio.h>
10 
11 // vtdata headers
12 #include "vtdata/config_vtdata.h"
13 #include "vtdata/MathTypes.h"
14 
15 // OpenGL headers
16 #if WIN32
17  // these definitions let us include gl.h without the entire Windows headers
18  #include "core/winglue.h"
19 #endif
20 
21 #ifdef __DARWIN_OSX__
22  #include <OpenGL/gl.h>
23 #else
24  #include <GL/gl.h>
25 #endif
26 
27 // MSVC warnings can be obnoxious
28 #ifdef _MSC_VER
29  #pragma warning(disable: 4511) // turn off warning about copy constructors
30  #pragma warning(disable: 4512) // turn off warning about assignment operators
31  #pragma warning(disable: 4786) // prevent common warning about templates
32 #endif
33 
35 
36 #include "vtosg/Mesh.h"
37 #include "vtosg/Material.h"
38 #include "vtosg/ImageOSG.h"
39 #include "vtosg/MathOSG.h"
40 #include "vtosg/NodeOSG.h"
41 #include "vtosg/SceneOSG.h"
42 
43 #if defined(_MSC_VER) && _DEBUG && !defined(_STDAFX_H_INCLUDED_) && 0
44 #pragma message("(Including MemTracker)")
45 #include "vtlib/core/MemoryTracker.h"
46 #endif
47