Panda3D
 All Classes Functions Variables Enumerations
standard_nodes.cxx
1 // Filename: standard_nodes.cxx
2 // Created by: drose (01Oct04)
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 #include "standard_nodes.h"
16 
17 // The binary data included here was generated from standardNodes.wrl
18 // (in this directory) file via the utility program bin2c (defined in
19 // pandatool). It contains the set of VRML definitions that must be
20 // loaded before any standard VRML file can be properly interpreted.
21 
22 #ifndef CPPPARSER
23 
24 #if defined(HAVE_ZLIB)
25 
26 // If we have zlib available, we can store this file compressed, which
27 // is much smaller.
28 
29 // Regenerate this file with:
30 
31 // pcompress standardNodes.wrl standardNodes.wrl.pz
32 // bin2c -n standard_nodes_data -o standardNodes.wrl.pz.c standardNodes.wrl.pz
33 
34 #include "standardNodes.wrl.pz.c"
35 
36 #else // HAVE_ZLIB
37 
38 // If we don't have zlib, just include the whole uncompressed file.
39 
40 // Regenerate this file with:
41 
42 // bin2c -n standard_nodes_data -o standardNodes.wrl.c standardNodes.wrl
43 
44 #include "standardNodes.wrl.c"
45 
46 #endif // HAVE_ZLIB
47 
48 #endif // CPPPARSER