Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
ode
odeJointCollection.I
1
// Filename: odeJointCollection.I
2
// Created by: drose (10Nov08)
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
16
////////////////////////////////////////////////////////////////////
17
// Function: OdeJointCollection::Destructor
18
// Access: Published
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE OdeJointCollection::
22
~OdeJointCollection() {
23
}
24
25
////////////////////////////////////////////////////////////////////
26
// Function: OdeJointCollection::operator +=
27
// Access: Published
28
// Description: Appends the other list onto the end of this one.
29
////////////////////////////////////////////////////////////////////
30
INLINE
void
OdeJointCollection::
31
operator +=
(
const
OdeJointCollection
&other) {
32
add_joints_from(other);
33
}
34
35
////////////////////////////////////////////////////////////////////
36
// Function: OdeJointCollection::operator +
37
// Access: Published
38
// Description: Returns a OdeJointCollection representing the
39
// concatenation of the two lists.
40
////////////////////////////////////////////////////////////////////
41
INLINE
OdeJointCollection
OdeJointCollection::
42
operator +
(
const
OdeJointCollection
&other)
const
{
43
OdeJointCollection
a(*
this
);
44
a += other;
45
return
a;
46
}
OdeJointCollection
Definition:
odeJointCollection.h:24
OdeJointCollection::operator+=
void operator+=(const OdeJointCollection &other)
Appends the other list onto the end of this one.
Definition:
odeJointCollection.I:31
OdeJointCollection::operator+
OdeJointCollection operator+(const OdeJointCollection &other) const
Returns a OdeJointCollection representing the concatenation of the two lists.
Definition:
odeJointCollection.I:42
Generated on Mon Feb 1 2016 13:44:30 for Panda3D by
1.8.5