Panda3D
Loading...
Searching...
No Matches
config_ode.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_ode.cxx
10 * @author joswilso
11 * @date 2006-12-27
12 */
13
14#include "config_ode.h"
15#include "odeWorld.h"
16#include "odeMass.h"
17#include "odeBody.h"
18#include "odeJointGroup.h"
19#include "odeJoint.h"
20#include "odeSpace.h"
21#include "odeGeom.h"
23#include "odeContactGeom.h"
24#include "odeContact.h"
25#include "odeAMotorJoint.h"
26#include "odeBallJoint.h"
27#include "odeContactJoint.h"
28#include "odeFixedJoint.h"
29#include "odeHingeJoint.h"
30#include "odeHinge2Joint.h"
31#include "odeLMotorJoint.h"
32#include "odeNullJoint.h"
33#include "odePlane2dJoint.h"
34#include "odeSliderJoint.h"
35#include "odeUniversalJoint.h"
36#include "odeSimpleSpace.h"
37#include "odeHashSpace.h"
38#include "odeQuadTreeSpace.h"
39#include "odeSphereGeom.h"
40#include "odeBoxGeom.h"
41#include "odePlaneGeom.h"
43#include "odeCylinderGeom.h"
44#include "odeRayGeom.h"
45#include "odeTriMeshData.h"
46#include "odeTriMeshGeom.h"
47#include "odeCollisionEntry.h"
48#include "dconfig.h"
49
50#if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_PANDAODE)
51 #error Buildsystem error: BUILDING_PANDAODE not defined
52#endif
53
54Configure(config_ode);
55NotifyCategoryDef(ode, "");
56NotifyCategoryDef(odeworld, "ode");
57NotifyCategoryDef(odebody, "ode");
58NotifyCategoryDef(odejoint, "ode");
59NotifyCategoryDef(odespace, "ode");
60NotifyCategoryDef(odegeom, "ode");
61NotifyCategoryDef(odetrimeshdata, "ode");
62
63ConfigureFn(config_ode) {
65}
66
67/**
68 * Initializes the library. This must be called at least once before any of
69 * the functions or classes in this library can be used. Normally it will be
70 * called by the static initializers and need not be called explicitly, but
71 * special cases exist.
72 */
73void
75 static bool initialized = false;
76 if (initialized) {
77 return;
78 }
79 initialized = true;
80
81 dInitODE();
82
83 OdeWorld::init_type();
84 OdeMass::init_type();
85 OdeBody::init_type();
86 OdeJointGroup::init_type();
87 OdeJoint::init_type();
88 OdeSpace::init_type();
89 OdeGeom::init_type();
90 OdeSurfaceParameters::init_type();
91 OdeContactGeom::init_type();
92 OdeContact::init_type();
93 OdeAMotorJoint::init_type();
94 OdeBallJoint::init_type();
95 OdeContactJoint::init_type();
96 OdeFixedJoint::init_type();
97 OdeHingeJoint::init_type();
98 OdeHinge2Joint::init_type();
99 OdeLMotorJoint::init_type();
100 OdeNullJoint::init_type();
101 OdePlane2dJoint::init_type();
102 OdeSliderJoint::init_type();
103 OdeUniversalJoint::init_type();
104 OdeSimpleSpace::init_type();
105 OdeHashSpace::init_type();
106 OdeQuadTreeSpace::init_type();
107 OdeSphereGeom::init_type();
108 OdeBoxGeom::init_type();
109 OdePlaneGeom::init_type();
110 OdeCappedCylinderGeom::init_type();
111 OdeCylinderGeom::init_type();
112 OdeRayGeom::init_type();
113 OdeTriMeshData::init_type();
114 OdeTriMeshGeom::init_type();
115 OdeCollisionEntry::init_type();
116}
void init_libode()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.