Panda3D
 All Classes Functions Variables Enumerations
odeSimpleSpace.cxx
1 // Filename: odeSimpleSpace.cxx
2 // Created by: joswilso (27Dec06)
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 "config_ode.h"
16 #include "odeSimpleSpace.h"
17 
18 TypeHandle OdeSimpleSpace::_type_handle;
19 
20 OdeSimpleSpace::
21 OdeSimpleSpace(dSpaceID id) :
22  OdeSpace(id) {
23 }
24 
25 OdeSimpleSpace::
26 OdeSimpleSpace() :
27  OdeSpace(dSimpleSpaceCreate(0)) {
28 }
29 
30 OdeSimpleSpace::
31 OdeSimpleSpace(OdeSpace &space) :
32  OdeSpace(dSimpleSpaceCreate(space.get_id())) {
33 }
34 
35 OdeSimpleSpace::
36 ~OdeSimpleSpace() {
37 }
38 
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85
dGeomID get_id() const
Returns the underlying dGeomID.
Definition: odeGeom.I:34