Panda3D
panda
src
ode
odeBallJoint.cxx
1
// Filename: odeBallJoint.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 "odeBallJoint.h"
17
18
TypeHandle
OdeBallJoint::_type_handle;
19
20
OdeBallJoint::
21
OdeBallJoint(dJointID
id
) :
22
OdeJoint
(id) {
23
}
24
25
OdeBallJoint::
26
OdeBallJoint(
OdeWorld
&world) :
27
OdeJoint
(dJointCreateBall(world.
get_id
(), 0)) {
28
}
29
30
OdeBallJoint::
31
OdeBallJoint(
OdeWorld
&world,
OdeJointGroup
&joint_group) :
32
OdeJoint
(dJointCreateBall(world.
get_id
(), joint_group.
get_id
())) {
33
}
34
35
OdeBallJoint::
36
~OdeBallJoint() {
37
}
OdeJointGroup
Definition:
odeJointGroup.h:28
OdeWorld
Definition:
odeWorld.h:35
OdeJoint::get_id
dJointID get_id() const
Returns the underlying dJointID.
Definition:
odeJoint.I:34
OdeJoint
Definition:
odeJoint.h:53
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:85
Generated on Wed May 17 2017 23:43:49 for Panda3D by
1.8.13