Panda3D

odeJointCollection.I

00001 // Filename: odeJointCollection.I
00002 // Created by:  drose (10Nov08)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 
00016 ////////////////////////////////////////////////////////////////////
00017 //     Function: OdeJointCollection::Destructor
00018 //       Access: Published
00019 //  Description:
00020 ////////////////////////////////////////////////////////////////////
00021 INLINE OdeJointCollection::
00022 ~OdeJointCollection() {
00023 }
00024 
00025 ////////////////////////////////////////////////////////////////////
00026 //     Function: OdeJointCollection::operator +=
00027 //       Access: Published
00028 //  Description: Appends the other list onto the end of this one.
00029 ////////////////////////////////////////////////////////////////////
00030 INLINE void OdeJointCollection::
00031 operator += (const OdeJointCollection &other) {
00032   add_joints_from(other);
00033 }
00034 
00035 ////////////////////////////////////////////////////////////////////
00036 //     Function: OdeJointCollection::operator +
00037 //       Access: Published
00038 //  Description: Returns a OdeJointCollection representing the
00039 //               concatenation of the two lists.
00040 ////////////////////////////////////////////////////////////////////
00041 INLINE OdeJointCollection OdeJointCollection::
00042 operator + (const OdeJointCollection &other) const {
00043   OdeJointCollection a(*this);
00044   a += other;
00045   return a;
00046 }
 All Classes Functions Variables Enumerations