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