Panda3D
 All Classes Functions Variables Enumerations
odeJointGroup.I
1 // Filename: odeJointGroup.I
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 INLINE dJointGroupID OdeJointGroup::
16 get_id() const {
17  return _id;
18 }
19 
20 INLINE void OdeJointGroup::
21 empty() const {
22  dJointGroupEmpty(_id);
23 }
24 
25 INLINE int OdeJointGroup::
26 compare_to(const OdeJointGroup &other) const {
27  if (_id != other._id) {
28  return _id < other._id ? -1 : 1;
29  }
30  return 0;
31 }