Panda3D

standard_nodes.cxx
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 standard_nodes.cxx
10 * @author drose
11 * @date 2004-10-01
12 */
13
14 #include "standard_nodes.h"
15
16 // The binary data included here was generated from standardNodes.wrl (in this
17 // directory) file via the utility program bin2c (defined in pandatool). It
18 // contains the set of VRML definitions that must be loaded before any
19 // standard VRML file can be properly interpreted.
20
21 #ifndef CPPPARSER
22
23 #if defined(HAVE_ZLIB)
24
25 // If we have zlib available, we can store this file compressed, which is much
26 // smaller.
27
28 // Regenerate this file with:
29
30 // pcompress standardNodes.wrl standardNodes.wrl.pz bin2c -n
31 // standard_nodes_data -o standardNodes.wrl.pz.c standardNodes.wrl.pz
32
33 #include "standardNodes.wrl.pz.c"
34
35 #else // HAVE_ZLIB
36
37 // If we don't have zlib, just include the whole uncompressed file.
38
39 // Regenerate this file with:
40
41 // bin2c -n standard_nodes_data -o standardNodes.wrl.c standardNodes.wrl
42
43 #include "standardNodes.wrl.c"
44
45 #endif // HAVE_ZLIB
46
47 #endif // CPPPARSER
standard_nodes.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.