Panda3D
config_motiontrail.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_motiontrail.cxx
10  * @author drose
11  * @date 2002-08-27
12  */
13 
14 #include "config_motiontrail.h"
15 #include "dconfig.h"
16 
17 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_DIRECT_MOTIONTRAIL)
18  #error Buildsystem error: BUILDING_DIRECT_MOTIONTRAIL not defined
19 #endif
20 
21 extern EXPCL_DIRECT_MOTIONTRAIL void init_libmotiontrail();
22 
23 Configure(config_motiontrail);
24 NotifyCategoryDef(motiontrail, "");
25 
26 ConfigureFn(config_motiontrail) {
28 }
29 
30 /**
31  * Initializes the library. This must be called at least once before any of
32  * the functions or classes in this library can be used. Normally it will be
33  * called by the static initializers and need not be called explicitly, but
34  * special cases exist.
35  */
36 void
38  static bool initialized = false;
39  if (initialized == false) {
40  CMotionTrail::init_type();
41  initialized = true;
42  }
43 }
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EXPCL_DIRECT_MOTIONTRAIL void init_libmotiontrail()
Initializes the library.