Panda3D
 All Classes Functions Variables Enumerations
speedtree_api.h
1 // Filename: speedtree_api.h
2 // Created by: drose (05Oct10)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef SPEEDTREE_API_H
16 #define SPEEDTREE_API_H
17 
18 // This header file should be included first, to pull in any of the
19 // required headers from the SpeedTree API, needed in this directory.
20 
21 #include "speedtree_parameters.h"
22 #include "Core/Core.h"
23 #include "Forest/Forest.h"
24 
25 #if defined(SPEEDTREE_OPENGL)
26  #include "Renderers/OpenGL/OpenGLRenderer.h"
27 #elif defined(SPEEDTREE_DIRECTX9)
28  #undef Configure
29  #include "Renderers/DirectX9/DirectX9Renderer.h"
30 #else
31  #error Unexpected graphics API.
32 #endif
33 
34 #endif // SPEEDTREE_API_H
35