Panda3D
odeJointGroup.I
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 odeJointGroup.I
10  * @author joswilso
11  * @date 2006-12-27
12  */
13 
14 INLINE dJointGroupID OdeJointGroup::
15 get_id() const {
16  return _id;
17 }
18 
19 INLINE void OdeJointGroup::
20 empty() const {
21  dJointGroupEmpty(_id);
22 }
23 
24 INLINE int OdeJointGroup::
25 compare_to(const OdeJointGroup &other) const {
26  if (_id != other._id) {
27  return _id < other._id ? -1 : 1;
28  }
29  return 0;
30 }