Panda3D
odePlane2dJoint.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 odePlane2dJoint.cxx
10  * @author joswilso
11  * @date 2006-12-27
12  */
13 
14 #include "config_ode.h"
15 #include "odePlane2dJoint.h"
16 
17 TypeHandle OdePlane2dJoint::_type_handle;
18 
19 OdePlane2dJoint::
20 OdePlane2dJoint(dJointID id) :
21  OdeJoint(id) {
22 }
23 
24 OdePlane2dJoint::
25 OdePlane2dJoint(OdeWorld &world) :
26  OdeJoint(dJointCreatePlane2D(world.get_id(), nullptr)) {
27 }
28 
29 OdePlane2dJoint::
30 OdePlane2dJoint(OdeWorld &world, OdeJointGroup &joint_group) :
31  OdeJoint(dJointCreatePlane2D(world.get_id(), joint_group.get_id())) {
32 }
33 
34 OdePlane2dJoint::
35 ~OdePlane2dJoint() {
36 }
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
dJointID get_id() const
Returns the underlying dJointID.
Definition: odeJoint.I:28
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81