Panda3D

Loading...
Searching...
No Matches
config_objegg.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 config_objegg.cxx
10 * @author drose
11 * @date 2010-12-07
12 */
13
14#include "config_objegg.h"
15#include "dconfig.h"
16
17Configure(config_objegg);
18NotifyCategoryDef(objegg, "");
19
20ConfigureFn(config_objegg) {
21 init_libobjegg();
22}
23
24/**
25 * Initializes the library. This must be called at least once before any of
26 * the functions or classes in this library can be used. Normally it will be
27 * called by the static initializers and need not be called explicitly, but
28 * special cases exist.
29 */
30 void
31 init_libobjegg() {
32 static bool initialized = false;
33 if (initialized) {
34 return;
35 }
36 initialized = true;
37}
init_libobjegg
void init_libobjegg()
Initializes the library.
Definition config_objegg.cxx:31
config_objegg.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
dconfig.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.